diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2014-05-11 10:00:53 +0200 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2014-05-11 10:00:53 +0200 |
commit | 56cf72ed0a7cdf134d1046559582a4a11fbfdedc (patch) | |
tree | b6fde0ad3d73015cc5a79db5b1d15f5cc475e3ba /test/baseline/opt-pivot.test | |
parent | cc7d0c82ea052a688b1a3d6dd5f0439afbd4d4eb (diff) | |
download | fork-ledger-56cf72ed0a7cdf134d1046559582a4a11fbfdedc.tar.gz fork-ledger-56cf72ed0a7cdf134d1046559582a4a11fbfdedc.tar.bz2 fork-ledger-56cf72ed0a7cdf134d1046559582a4a11fbfdedc.zip |
Add more --pivot tests
Diffstat (limited to 'test/baseline/opt-pivot.test')
-rw-r--r-- | test/baseline/opt-pivot.test | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/baseline/opt-pivot.test b/test/baseline/opt-pivot.test index cd29691b..595d8066 100644 --- a/test/baseline/opt-pivot.test +++ b/test/baseline/opt-pivot.test @@ -60,6 +60,14 @@ test bal assets:receivables --pivot Invoice 28.00 GBP end test +test bal assets:receivables --pivot Invoice --flat + 11.00 GBP Invoice:102:Assets:Receivables + 12.00 GBP Invoice:103:Assets:Receivables + 5.00 GBP Invoice:105:Assets:Receivables +-------------------- + 28.00 GBP +end test + test bal assets:receivables --pivot Invoice --empty 28.00 GBP Invoice 0 101:Assets:Receivables @@ -101,6 +109,14 @@ test bal assets:receivables --pivot Customer 28.00 GBP end test +test bal assets:receivables --pivot Customer --flat + 12.00 GBP Customer:AAA:Assets:Receivables + 11.00 GBP Customer:BBB:Assets:Receivables + 5.00 GBP Customer:DDD:Assets:Receivables +-------------------- + 28.00 GBP +end test + test bal assets:receivables --pivot Customer --empty 28.00 GBP Customer 12.00 GBP AAA:Assets:Receivables |