Building a test system
n
The test system will be composed
of two objects:
u
A
Counter
to be tested.
u
A test driver to invoke the
Counter
’s methods.
n
The test driver prompts the user
with a menu, gets input from the
user, and provides output in the
form of the count.