diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-29 05:10:16 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-29 05:59:38 -0400 |
commit | 4518ea95408e2d5fe90a87159b88bb41734ec1dc (patch) | |
tree | 3026169803aaea580d8b452cb9bb8a569c92fb2a /test/numerics/t_expr.h | |
parent | 63039ade9209bced70b3e4dbb673ad90286d310a (diff) | |
download | fork-ledger-4518ea95408e2d5fe90a87159b88bb41734ec1dc.tar.gz fork-ledger-4518ea95408e2d5fe90a87159b88bb41734ec1dc.tar.bz2 fork-ledger-4518ea95408e2d5fe90a87159b88bb41734ec1dc.zip |
Value expression architecture is now rewritten, but the functionality of the
old system (for example, the meaning of 'a') has yet to be restored. In the
new scheme, this will be done by definition a function outside of the value
expression logic, rather than the tight coupling between journal innards and
value expressions that occurred in 2.x.
Diffstat (limited to 'test/numerics/t_expr.h')
-rw-r--r-- | test/numerics/t_expr.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/numerics/t_expr.h b/test/numerics/t_expr.h new file mode 100644 index 00000000..3cac4ed6 --- /dev/null +++ b/test/numerics/t_expr.h @@ -0,0 +1,30 @@ +#ifndef _T_VALEXPR_H +#define _T_VALEXPR_H + +#include "UnitTests.h" + +class ValueExprTestCase : public CPPUNIT_NS::TestCase +{ + CPPUNIT_TEST_SUITE(ValueExprTestCase); + + CPPUNIT_TEST(testConstructors); + + CPPUNIT_TEST_SUITE_END(); + +public: + ledger::session_t session; + + ValueExprTestCase() {} + virtual ~ValueExprTestCase() {} + + virtual void setUp(); + virtual void tearDown(); + + void testConstructors(); + +private: + ValueExprTestCase(const ValueExprTestCase ©); + void operator=(const ValueExprTestCase ©); +}; + +#endif // _T_VALEXPR_H |