diff options
Diffstat (limited to 'test/regress/C0212EAC.test')
-rw-r--r-- | test/regress/C0212EAC.test | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/regress/C0212EAC.test b/test/regress/C0212EAC.test new file mode 100644 index 00000000..da178054 --- /dev/null +++ b/test/regress/C0212EAC.test @@ -0,0 +1,33 @@ +reg +<<< +2007-01-01 Opening balances + Assets:Cash 10.00 EUR + Equity:Opening balances + +2008-01-01 Buy 5.00 GBP + Assets:Cash 5.00 GBP @ 1.4 EUR + Assets:Checking + +2009-01-01 Sell 5.00 GBP for 7.50 EUR that I bought for 7.00 EUR + Assets:Cash -5.00 GBP {=1.4 EUR} @ 1.5 EUR + Assets:Checking 7.50 EUR + Income:Gain + +P 2009-02-01 00:00:00 GBP 1.5 EUR +>>> +07-Jan-01 Opening balances Assets:Cash 10.00 EUR 10.00 EUR + Equit:Opening balances -10.00 EUR 0 +08-Jan-01 Buy 5.00 GBP Assets:Cash 5.00 GBP 5.00 GBP + Assets:Checking -7.00 EUR -7.00 EUR + 5.00 GBP +09-Jan-01 Sell 5.00 GBP for 7.. Assets:Cash -5.00 GBP {=1.40 EUR} -7.00 EUR + 5.00 GBP + -5.00 GBP {=1.40 EUR} + Assets:Checking 7.50 EUR 0.50 EUR + 5.00 GBP + -5.00 GBP {=1.40 EUR} + Income:Gain -0.50 EUR 5.00 GBP + -5.00 GBP {=1.40 EUR} + Equity:Capital Gains 0.50 EUR 0.50 EUR + 5.00 GBP + -5.00 GBP {=1.40 EUR} |