diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-26 00:56:47 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-26 03:16:39 -0400 |
commit | d58797e98c82ced16fbc0a213fd104fb72a9de08 (patch) | |
tree | cecde49eece8edc80e334f74895e0861a56c0fdb /test/ExprTests.cc | |
parent | 74e569e220bee08d6c9eda59b5e4021748344994 (diff) | |
download | fork-ledger-d58797e98c82ced16fbc0a213fd104fb72a9de08.tar.gz fork-ledger-d58797e98c82ced16fbc0a213fd104fb72a9de08.tar.bz2 fork-ledger-d58797e98c82ced16fbc0a213fd104fb72a9de08.zip |
The -B, -G, -V reports now show rounding amounts
This way, if the running total is off by a penny or two due to rounding
of one or more commodities in the account, the user will see it.
This commit also reorganizes the testing code a bit, which I did after
adding the ninth test series (ConfirmTests), to validate the new
rounding code.
Diffstat (limited to 'test/ExprTests.cc')
-rw-r--r-- | test/ExprTests.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ExprTests.cc b/test/ExprTests.cc new file mode 100644 index 00000000..d3f0a734 --- /dev/null +++ b/test/ExprTests.cc @@ -0,0 +1,3 @@ +#include <cppunit/extensions/HelperMacros.h> + +CPPUNIT_REGISTRY_ADD_TO_DEFAULT("expr"); |