There are two deliverables for this exercise. Both will have Javadoc comments or Python docstrings.
The Bin class.
A class which performs a unit test of the
Bin class. The unit test should create
several instances of Outcome, two instances
of Bin and establish that
Bins can be constructed from the
Outcomes.
Programmers who are new to OO techniques
are sometimes confused when reusing individual
Outcome instances. This unit test is a good
place to examine the ways in which object
references are shared. A single
Outcome object can be referenced by several
Bins. We will make increasing use of this
in later sections.