From e92527e4da73179fc3fffff8f09917a334c078fc Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Mon, 12 May 2014 12:59:53 -0400 Subject: Add another test case for bug #999 --- test/regress/999-b.test | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test/regress/999-b.test (limited to 'test/regress/999-b.test') 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 0 -11.00 EUR +end test + -- cgit v1.2.3