summaryrefslogtreecommitdiff
path: root/test/numerics/t_amount.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/numerics/t_amount.cc')
-rw-r--r--test/numerics/t_amount.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/numerics/t_amount.cc b/test/numerics/t_amount.cc
index 3fb6b0ee..69d97af3 100644
--- a/test/numerics/t_amount.cc
+++ b/test/numerics/t_amount.cc
@@ -1379,8 +1379,8 @@ void AmountTestCase::testCommodityForZero()
{
amount_t x1(internalAmount("$0.000000000000000000001"));
- assertFalse(x1);
- assertTrue(x1.is_zero());
+ assertTrue(x1); // an internal amount never betrays its precision
+ assertFalse(x1.is_zero());
assertFalse(x1.is_realzero());
assertValid(x1);