summaryrefslogtreecommitdiff
path: root/tests/numerics
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-02 03:04:55 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:35 -0400
commit9e80a6fbcc837c0bfc3f5846347da1a25364ba44 (patch)
tree4d9b83528633d32b32b8878259f87788c861ec38 /tests/numerics
parent76b2066b8ba41f51e8199bd91d93508cf464558c (diff)
downloadfork-ledger-9e80a6fbcc837c0bfc3f5846347da1a25364ba44.tar.gz
fork-ledger-9e80a6fbcc837c0bfc3f5846347da1a25364ba44.tar.bz2
fork-ledger-9e80a6fbcc837c0bfc3f5846347da1a25364ba44.zip
Got things compiling with boost/operators.hpp
Diffstat (limited to 'tests/numerics')
-rw-r--r--tests/numerics/CommodityAmount.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/numerics/CommodityAmount.cc b/tests/numerics/CommodityAmount.cc
index 2f676697..ffedbdac 100644
--- a/tests/numerics/CommodityAmount.cc
+++ b/tests/numerics/CommodityAmount.cc
@@ -183,7 +183,7 @@ void CommodityAmountTestCase::testEquality()
amount_t x9 = "123.45€";
amount_t x10 = "-123.45€";
- assertTrue(x0.null());
+ assertTrue(x0.is_null());
assertTrue(x0.zero());
assertTrue(x0.realzero());
assertTrue(x0.sign() == 0);