diff options
Diffstat (limited to 'tests/numerics/BasicAmount.cc')
-rw-r--r-- | tests/numerics/BasicAmount.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/numerics/BasicAmount.cc b/tests/numerics/BasicAmount.cc index 755bc372..f386d8f4 100644 --- a/tests/numerics/BasicAmount.cc +++ b/tests/numerics/BasicAmount.cc @@ -585,10 +585,10 @@ void BasicAmountTestCase::testForZero() CPPUNIT_ASSERT(! x0); CPPUNIT_ASSERT(x1); - CPPUNIT_ASSERT(x0.zero()); - CPPUNIT_ASSERT(x0.realzero()); - CPPUNIT_ASSERT(! x1.zero()); - CPPUNIT_ASSERT(! x1.realzero()); + CPPUNIT_ASSERT(x0.is_zero()); + CPPUNIT_ASSERT(x0.is_realzero()); + CPPUNIT_ASSERT(! x1.is_zero()); + CPPUNIT_ASSERT(! x1.is_realzero()); CPPUNIT_ASSERT(x0.valid()); CPPUNIT_ASSERT(x1.valid()); |