summaryrefslogtreecommitdiff
path: root/test/unit/t_amount.h
diff options
context:
space:
mode:
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);