diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2012-03-25 17:39:49 +0100 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2012-03-25 17:39:49 +0100 |
commit | 4d0daf77d7aef535bc206154344a1061b6064ec6 (patch) | |
tree | 558f003c46d112b01030e3ec2bd7a0e3760f6f67 /test/baseline/opt-group-by.test | |
parent | f4e6d30736a41008da0193e58fbe89f15fdbb3b0 (diff) | |
download | fork-ledger-4d0daf77d7aef535bc206154344a1061b6064ec6.tar.gz fork-ledger-4d0daf77d7aef535bc206154344a1061b6064ec6.tar.bz2 fork-ledger-4d0daf77d7aef535bc206154344a1061b6064ec6.zip |
Add more baseline tests
Diffstat (limited to 'test/baseline/opt-group-by.test')
-rw-r--r-- | test/baseline/opt-group-by.test | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/test/baseline/opt-group-by.test b/test/baseline/opt-group-by.test index e69de29b..1f6c6adf 100644 --- a/test/baseline/opt-group-by.test +++ b/test/baseline/opt-group-by.test @@ -0,0 +1,114 @@ +2012-03-20 * Test GBP + A -10.00 GBP + B + +2012-03-20 * Test EUR + A -10.00 EUR + B + +2012-03-22 * Test GBP + A -10.00 GBP + B + +2012-03-22 * Test EUR + A -10.00 EUR + B + +2012-03-25 * Test GBP + A -10.00 GBP + B + +2012-03-25 * Test EUR + A -10.00 EUR + B + +test reg --group-by payee +Test EUR +12-Mar-20 Test EUR A -10.00 EUR -10.00 EUR + B 10.00 EUR 0 +12-Mar-22 Test EUR A -10.00 EUR -10.00 EUR + B 10.00 EUR 0 +12-Mar-25 Test EUR A -10.00 EUR -10.00 EUR + B 10.00 EUR 0 + +Test GBP +12-Mar-20 Test GBP A -10.00 GBP -10.00 GBP + B 10.00 GBP 0 +12-Mar-22 Test GBP A -10.00 GBP -10.00 GBP + B 10.00 GBP 0 +12-Mar-25 Test GBP A -10.00 GBP -10.00 GBP + B 10.00 GBP 0 +end test + +test reg --group-by commodity +EUR +12-Mar-20 Test EUR A -10.00 EUR -10.00 EUR + B 10.00 EUR 0 +12-Mar-22 Test EUR A -10.00 EUR -10.00 EUR + B 10.00 EUR 0 +12-Mar-25 Test EUR A -10.00 EUR -10.00 EUR + B 10.00 EUR 0 + +GBP +12-Mar-20 Test GBP A -10.00 GBP -10.00 GBP + B 10.00 GBP 0 +12-Mar-22 Test GBP A -10.00 GBP -10.00 GBP + B 10.00 GBP 0 +12-Mar-25 Test GBP A -10.00 GBP -10.00 GBP + B 10.00 GBP 0 +end test + +test bal --group-by commodity +EUR + -30.00 EUR A + 30.00 EUR B +-------------------- + 0 + +GBP + -30.00 GBP A + 30.00 GBP B +-------------------- + 0 +end test + +test bal --group-by payee +Test EUR + -30.00 EUR A + 30.00 EUR B +-------------------- + 0 + +Test GBP + -30.00 GBP A + 30.00 GBP B +-------------------- + 0 +end test + +test bal --group-by date +2012/03/20 + -10.00 EUR + -10.00 GBP A + 10.00 EUR + 10.00 GBP B +-------------------- + 0 + +2012/03/22 + -10.00 EUR + -10.00 GBP A + 10.00 EUR + 10.00 GBP B +-------------------- + 0 + +2012/03/25 + -10.00 EUR + -10.00 GBP A + 10.00 EUR + 10.00 GBP B +-------------------- + 0 +end test + |