diff options
author | John Wiegley <johnw@newartisans.com> | 2011-02-04 04:40:31 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2011-02-04 04:40:31 -0500 |
commit | c313cee085d97aa0c24ce1491cfc66bd025d32ef (patch) | |
tree | a7614ad88e7f6d8d5386dcd3472be225287a2fae /test/unit/t_balance.cc | |
parent | 8c81a1decbb40f62c1b808d4203b0863059769fb (diff) | |
download | fork-ledger-c313cee085d97aa0c24ce1491cfc66bd025d32ef.tar.gz fork-ledger-c313cee085d97aa0c24ce1491cfc66bd025d32ef.tar.bz2 fork-ledger-c313cee085d97aa0c24ce1491cfc66bd025d32ef.zip |
Fixed several unit tests
Diffstat (limited to 'test/unit/t_balance.cc')
-rw-r--r-- | test/unit/t_balance.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/unit/t_balance.cc b/test/unit/t_balance.cc index b74a54e7..0d681a88 100644 --- a/test/unit/t_balance.cc +++ b/test/unit/t_balance.cc @@ -10,21 +10,21 @@ using namespace ledger; struct balance_fixture { balance_fixture() { - times_initialize(); - amount_t::initialize(); + times_initialize(); + amount_t::initialize(); - // Cause the display precision for dollars to be initialized to 2. - amount_t x1("$1.00"); - BOOST_CHECK(x1); + // Cause the display precision for dollars to be initialized to 2. + amount_t x1("$1.00"); + BOOST_CHECK(x1); - amount_t::stream_fullstrings = true; // make reports from UnitTests accurate + amount_t::stream_fullstrings = true; // make reports from UnitTests accurate } ~balance_fixture() { - amount_t::stream_fullstrings = false; - amount_t::shutdown(); - times_shutdown(); + amount_t::stream_fullstrings = false; + amount_t::shutdown(); + times_shutdown(); } }; |