There are two deliverables for this exercise. Both will have Javadoc comments or Python docstrings.
The Outcome class.
A class which performs a unit test of the
Outcome class. The unit test should create
a three instances of Outcome, two of which
have the same name. It should use a number of individual tests to
establish that two Outcome with the same
name will test true for equality, have the same hash code, and
establish that the winAmount method works
correctly.