summaryrefslogtreecommitdiff
path: root/tests/python
diff options
context:
space:
mode:
Diffstat (limited to 'tests/python')
-rw-r--r--tests/python/numerics/BasicAmount.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/python/numerics/BasicAmount.py b/tests/python/numerics/BasicAmount.py
index 9654f6a7..07c1f426 100644
--- a/tests/python/numerics/BasicAmount.py
+++ b/tests/python/numerics/BasicAmount.py
@@ -475,6 +475,11 @@ class BasicAmountTestCase(unittest.TestCase):
self.assertTrue(x3 < x1)
self.assertTrue(x3 < x4)
+ self.assertTrue(x1 < 100)
+ self.assertTrue(x1 < 100.0)
+ self.assertTrue(100 > x1)
+ self.assertTrue(100.0 > x1)
+
self.assertTrue(x0.valid())
self.assertTrue(x1.valid())
self.assertTrue(x2.valid())