diff options
author | John Wiegley <johnw@newartisans.com> | 2009-01-31 01:22:51 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-01-31 01:22:51 -0400 |
commit | e4c7df4002c896ef9e33bd7bf38f7b6c88e5483e (patch) | |
tree | b01b89bdc24d20ce8e1cf6aedb37e6ad4376f1d6 /test/unit/t_amount.h | |
parent | b42ef31d931a16451c15f934be2b7aa6498a1e3e (diff) | |
download | ledger-e4c7df4002c896ef9e33bd7bf38f7b6c88e5483e.tar.gz ledger-e4c7df4002c896ef9e33bd7bf38f7b6c88e5483e.tar.bz2 ledger-e4c7df4002c896ef9e33bd7bf38f7b6c88e5483e.zip |
Don't perform rounding tests in Python.
Diffstat (limited to 'test/unit/t_amount.h')
-rw-r--r-- | test/unit/t_amount.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/t_amount.h b/test/unit/t_amount.h index 21224a09..92bbe9b8 100644 --- a/test/unit/t_amount.h +++ b/test/unit/t_amount.h @@ -32,9 +32,11 @@ class AmountTestCase : public CPPUNIT_NS::TestCase CPPUNIT_TEST(testCommodityNegation); CPPUNIT_TEST(testAbs); CPPUNIT_TEST(testCommodityAbs); +#ifdef INTEGER_MATH CPPUNIT_TEST(testFractionalRound); CPPUNIT_TEST(testCommodityRound); CPPUNIT_TEST(testCommodityDisplayRound); +#endif CPPUNIT_TEST(testReduction); CPPUNIT_TEST(testSign); CPPUNIT_TEST(testCommoditySign); |