diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-09 10:02:56 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:42 -0400 |
commit | 8e20c378d6ee6eb36f8c6866f8c9ec52f8600c58 (patch) | |
tree | f610a289a997487d89f6b24dc48f5e1ffce35628 /tests/numerics/t_amount.h | |
parent | 623e6e024cf43fc855c889314b8da8802c2f0449 (diff) | |
download | fork-ledger-8e20c378d6ee6eb36f8c6866f8c9ec52f8600c58.tar.gz fork-ledger-8e20c378d6ee6eb36f8c6866f8c9ec52f8600c58.tar.bz2 fork-ledger-8e20c378d6ee6eb36f8c6866f8c9ec52f8600c58.zip |
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.
Diffstat (limited to 'tests/numerics/t_amount.h')
-rw-r--r-- | tests/numerics/t_amount.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 ©); |