I'm working through the tutorial at
http://cppunit.sourceforge.net/doc/1.9.11/money_example.html#money_example
I'm pretty sure I found a typo on the line:
CPPUNIT_ASSERT_EQUAL( expectedMoney == Money.getAmount() );
The example won't compile.
Changing either "CPPUNIT_ASSERT_EQUAL" to
"CPPUNIT_ASSERT" or "==" to "," and changing
"expectedMoney" to "expectedMoney.getAmount()" seems to
fix the problem.
|