From 8e20c378d6ee6eb36f8c6866f8c9ec52f8600c58 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 9 May 2007 10:02:56 +0000 Subject: The unit tests for amount.cc now cover every part of the code except for two: those concerning annotated commodities (which will be covered in the t_commodity.cc tests) and reading of optimized amounts in the binary journal reader. --- tests/numerics/t_amount.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/numerics/t_amount.h') diff --git a/tests/numerics/t_amount.h b/tests/numerics/t_amount.h index 9b3d36f0..2d5a327a 100644 --- a/tests/numerics/t_amount.h +++ b/tests/numerics/t_amount.h @@ -47,6 +47,7 @@ class AmountTestCase : public CPPUNIT_NS::TestCase CPPUNIT_TEST(testCommodityConversion); CPPUNIT_TEST(testPrinting); CPPUNIT_TEST(testCommodityPrinting); + CPPUNIT_TEST(testSerialization); CPPUNIT_TEST_SUITE_END(); @@ -99,6 +100,7 @@ public: void testCommodityConversion(); void testPrinting(); void testCommodityPrinting(); + void testSerialization(); private: AmountTestCase(const AmountTestCase ©); -- cgit v1.2.3