summaryrefslogtreecommitdiff
path: root/test/unit/t_amount.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-31 01:22:51 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-31 01:22:51 -0400
commite4c7df4002c896ef9e33bd7bf38f7b6c88e5483e (patch)
treeb01b89bdc24d20ce8e1cf6aedb37e6ad4376f1d6 /test/unit/t_amount.h
parentb42ef31d931a16451c15f934be2b7aa6498a1e3e (diff)
downloadledger-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.h2
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);