diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-05 19:48:42 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-05 19:48:42 -0400 |
commit | 36cd8164049b570d9730a886e55d5a985bae1c2b (patch) | |
tree | a667029488caf3da54ec6d673628942ef6958ba8 /test/numerics/t_expr.cc | |
parent | 262bda35cfb7e739e1d148330ac429abfeaad895 (diff) | |
download | fork-ledger-36cd8164049b570d9730a886e55d5a985bae1c2b.tar.gz fork-ledger-36cd8164049b570d9730a886e55d5a985bae1c2b.tar.bz2 fork-ledger-36cd8164049b570d9730a886e55d5a985bae1c2b.zip |
Moved the test sources around, so that all the unit tests are in test/unit.
Diffstat (limited to 'test/numerics/t_expr.cc')
-rw-r--r-- | test/numerics/t_expr.cc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test/numerics/t_expr.cc b/test/numerics/t_expr.cc deleted file mode 100644 index 026b4eec..00000000 --- a/test/numerics/t_expr.cc +++ /dev/null @@ -1,25 +0,0 @@ -#include "t_valexpr.h" - -CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(ValueExprTestCase, "numerics"); - -void ValueExprTestCase::setUp() -{ - ledger::set_session_context(&session); - - // Cause the display precision for dollars to be initialized to 2. - amount_t x1("$1.00"); - assertTrue(x1); - - amount_t::stream_fullstrings = true; // make reports from UnitTests accurate -} - -void ValueExprTestCase::tearDown() -{ - amount_t::stream_fullstrings = false; - - ledger::set_session_context(); -} - -void ValueExprTestCase::testConstructors() -{ -} |