diff options
Diffstat (limited to 'test/unit/t_amount.cc')
-rw-r--r-- | test/unit/t_amount.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/unit/t_amount.cc b/test/unit/t_amount.cc index 6dc1a5b6..484a51bc 100644 --- a/test/unit/t_amount.cc +++ b/test/unit/t_amount.cc @@ -1091,6 +1091,9 @@ void AmountTestCase::testCommodityAbs() assertValid(x2); } +#ifndef NOT_FOR_PYTHON +#ifdef INTEGER_MATH + void AmountTestCase::testFractionalRound() { amount_t x0; @@ -1256,6 +1259,9 @@ void AmountTestCase::testCommodityDisplayRound() assertEqual(string("$1.13"), x1.to_string()); } +#endif // INTEGER_MATH +#endif + void AmountTestCase::testReduction() { amount_t x0; |