summaryrefslogtreecommitdiff
path: root/tests/UnitTests.h
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/UnitTests.h
parenta99695f69b395c9664447b5af82893fb755bd4c0 (diff)
downloadfork-ledger-30978b7fe5ee93413b2e05b54942f6550832b222.tar.gz
fork-ledger-30978b7fe5ee93413b2e05b54942f6550832b222.tar.bz2
fork-ledger-30978b7fe5ee93413b2e05b54942f6550832b222.zip
Added new test files.
Diffstat (limited to 'tests/UnitTests.h')
-rw-r--r--tests/UnitTests.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/UnitTests.h b/tests/UnitTests.h
index 5edfb5d3..e7027cf4 100644
--- a/tests/UnitTests.h
+++ b/tests/UnitTests.h
@@ -19,4 +19,6 @@ using namespace ledger;
#define assertMessage(x,y) CPPUNIT_ASSERT_MESSAGE(x,y)
#define assertThrow(x,y) CPPUNIT_ASSERT_THROW(x,y)
+#define internalAmount(x) amount_t::exact(x)
+
#endif /* _UNITTESTS_H */