diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2012-03-27 20:16:17 +0100 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2012-03-27 20:16:17 +0100 |
commit | 362fad5925ba4e828b80bd5a90aff825296e6ad0 (patch) | |
tree | cc74d03b3aa258b3d4d8a31c667f99e2d044aa84 /test/regress/C19E4E9B.test | |
parent | f3e320c98a39140989d52524a96ad205139ce06a (diff) | |
download | fork-ledger-362fad5925ba4e828b80bd5a90aff825296e6ad0.tar.gz fork-ledger-362fad5925ba4e828b80bd5a90aff825296e6ad0.tar.bz2 fork-ledger-362fad5925ba4e828b80bd5a90aff825296e6ad0.zip |
Add more tests
Diffstat (limited to 'test/regress/C19E4E9B.test')
-rw-r--r-- | test/regress/C19E4E9B.test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/regress/C19E4E9B.test b/test/regress/C19E4E9B.test new file mode 100644 index 00000000..4837b4cd --- /dev/null +++ b/test/regress/C19E4E9B.test @@ -0,0 +1,18 @@ +2012-01-01=2012-01-02 * Buy AAA + A 1 AAA @ 1.00 EUR + B -1.00 EUR + +2012-02-01 * Buy AAA + A 1 AAA @ 2.00 EUR + B -2.00 EUR + +test reg --format "%S: %d %P %t %T\n" +$FILE: 2012/01/01 Buy AAA 1 AAA 1 AAA +$FILE: 2012/01/01 Buy AAA -1.00 EUR 1 AAA +-1.00 EUR +$FILE: 2012/02/01 Buy AAA 1 AAA 2 AAA +-1.00 EUR +$FILE: 2012/02/01 Buy AAA -2.00 EUR 2 AAA +-3.00 EUR +end test + |