diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2014-05-12 12:59:53 -0400 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2014-05-12 12:59:53 -0400 |
commit | e92527e4da73179fc3fffff8f09917a334c078fc (patch) | |
tree | 9d0660b7a9350f09926db0752df3fcb86aed8da4 /test/regress/999-b.test | |
parent | 0d823a480f87db182bab915e08e8e13e850e0c99 (diff) | |
download | fork-ledger-e92527e4da73179fc3fffff8f09917a334c078fc.tar.gz fork-ledger-e92527e4da73179fc3fffff8f09917a334c078fc.tar.bz2 fork-ledger-e92527e4da73179fc3fffff8f09917a334c078fc.zip |
Add another test case for bug #999
Diffstat (limited to 'test/regress/999-b.test')
-rw-r--r-- | test/regress/999-b.test | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/regress/999-b.test b/test/regress/999-b.test new file mode 100644 index 00000000..f6d19f30 --- /dev/null +++ b/test/regress/999-b.test @@ -0,0 +1,22 @@ + +2014-01-01 * Test + Assets:Cash 10.00 GBP + Equity:Opening balance -10.00 GBP + +2014-02-01 * Exchange rate 1.10 + Assets:Cash -1.00 GBP @ 1.10 EUR + Assets:Cash 1.10 EUR + +2014-03-01 * Exchange rate 1.20 + Assets:Cash -1.00 GBP (@) 1.20 EUR + Assets:Cash 1.20 EUR + +test pricedb +P 2014/02/01 00:00:00 GBP 1.10 EUR +end test + +test reg Equity:Opening -X EUR +14-Jan-01 Test Equity:Opening balance -10.00 GBP -10.00 GBP +14-Feb-01 Commodities revalued <Revalued> 0 -11.00 EUR +end test + |