summaryrefslogtreecommitdiff
path: root/tests/numerics/BasicAmount.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-07 10:24:46 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:38 -0400
commit06e7c2820242ea5130a63305836f822ccb409a92 (patch)
treed59d4ad1e85c0319cebe203858bf1924ffa1d205 /tests/numerics/BasicAmount.cc
parent7868a53b70bd08b79007386dbb5b1590bfb2e457 (diff)
downloadfork-ledger-06e7c2820242ea5130a63305836f822ccb409a92.tar.gz
fork-ledger-06e7c2820242ea5130a63305836f822ccb409a92.tar.bz2
fork-ledger-06e7c2820242ea5130a63305836f822ccb409a92.zip
Rearranged many method names.
Diffstat (limited to 'tests/numerics/BasicAmount.cc')
-rw-r--r--tests/numerics/BasicAmount.cc8
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());