Hello,
Consider a grocery market where items have prices per
unit but also volume prices. For example, doughnuts may be $1.00 each or 4 for $3 dollars.
So far, I have created the following test cases along with the "objects under test":
PriceTest:
Price:
My first two tests work inside PriceTest, but my testCombinedPrice() method throws the following error:
How do I fix this failing test?
-Mike
[ September 13, 2008: Message edited by: Michael K. Wilson ]