summaryrefslogtreecommitdiff
path: root/tests/numerics/t_amount.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-07 11:37:15 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:40 -0400
commit30978b7fe5ee93413b2e05b54942f6550832b222 (patch)
treecede95552b56e9f17b24b6daa1037e7b87f11aed /tests/numerics/t_amount.cc
parenta99695f69b395c9664447b5af82893fb755bd4c0 (diff)
downloadfork-ledger-30978b7fe5ee93413b2e05b54942f6550832b222.tar.gz
fork-ledger-30978b7fe5ee93413b2e05b54942f6550832b222.tar.bz2
fork-ledger-30978b7fe5ee93413b2e05b54942f6550832b222.zip
Added new test files.
Diffstat (limited to 'tests/numerics/t_amount.cc')
-rw-r--r--tests/numerics/t_amount.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/numerics/t_amount.cc b/tests/numerics/t_amount.cc
index 67ea1781..a59ff2ea 100644
--- a/tests/numerics/t_amount.cc
+++ b/tests/numerics/t_amount.cc
@@ -1,7 +1,5 @@
#include "t_amount.h"
-#define internalAmount(x) amount_t::exact(x)
-
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(AmountTestCase, "numerics");
void AmountTestCase::setUp()
@@ -11,7 +9,8 @@ void AmountTestCase::setUp()
// Cause the display precision for dollars to be initialized to 2.
amount_t x1("$1.00");
assertTrue(x1);
- amount_t::stream_fullstrings = true; // makes error reports from UnitTests accurate
+
+ amount_t::stream_fullstrings = true; // make reports from UnitTests accurate
}
void AmountTestCase::tearDown()