Skip to content

About

Test problem set for AD325

Resources

Stars

0 stars

Watchers

3 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MapSumDemo

Test problem set for AD325

The Problem

Implement a program that will store a map of String keys and Integer values that will allow you to search for the sum of all values where the corresponding keys use the same prefixes. For example: From the map {"apple":1, "ape":2, "alpha":3}, the mapSum.sum("ap") method should return 3.

Included in this package are the JUnit libraries for testing, an Abstract class that defines the methods you will need, and a test suite to test your implementation. Succesfully completing this exercise should show the following from the CompileAndTest script:

Your Test Results

Tests Passed: 2

Tests Failed: 0

Any errors will be shown above the results tally.

Instructions

  • Clone this repository to a Windows workstation in the lab
  • Implement the abstract class from ad325.mapSumProblem.mapSumClasses and it's abstract methods into a concrete class.
  • Use the provided windows .cmd file to compile and run the unit tests.

For the purposes of this exercise, only use Notepad or Notepad++ Web browsers are prohibited, except for Java documentation https://docs.oracle.com/javase/8/docs/api/

About

Test problem set for AD325

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages