summaryrefslogtreecommitdiff
path: root/tests/corelib/numerics/BasicAmount.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-23 21:22:24 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:31 -0400
commit9039e728b2015b54dc87da52f450c27683303392 (patch)
treeac914e05db5dc03f6971cd8c165ee3791a614d18 /tests/corelib/numerics/BasicAmount.cc
parent340dacf118f2f457ffc962cb46e8b3ef59017376 (diff)
downloadfork-ledger-9039e728b2015b54dc87da52f450c27683303392.tar.gz
fork-ledger-9039e728b2015b54dc87da52f450c27683303392.tar.bz2
fork-ledger-9039e728b2015b54dc87da52f450c27683303392.zip
All system headers (except Boost) now included through system.hh;
also, added support for pre-compiled headers since I'm now using a centralized resource for system headers.
Diffstat (limited to 'tests/corelib/numerics/BasicAmount.cc')
-rw-r--r--tests/corelib/numerics/BasicAmount.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/corelib/numerics/BasicAmount.cc b/tests/corelib/numerics/BasicAmount.cc
index 143b8c38..fbab8877 100644
--- a/tests/corelib/numerics/BasicAmount.cc
+++ b/tests/corelib/numerics/BasicAmount.cc
@@ -1,16 +1,12 @@
#include "BasicAmount.h"
-#include "ledger.h"
-
-using namespace ledger;
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(BasicAmountTestCase, "numerics");
void BasicAmountTestCase::setUp() {
- amount_t::initialize();
+ ledger::initialize();
}
void BasicAmountTestCase::tearDown() {
- amount_t::shutdown();
- assert(live_count.size() == 0);
+ ledger::shutdown();
}
void BasicAmountTestCase::testConstructors()