summaryrefslogtreecommitdiff
path: root/tests/UnitTests.h
diff options
context:
space:
mode:
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 */