[Cppunit-devel] Possible Typo in 1.9.11 docs
Brought to you by:
blep
From: Joe W. <je...@co...> - 2003-10-07 16:01:47
|
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. |