From 29bd78ca4b4aed966e7d2e698390daea1b756ba2 Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Sun, 10 Aug 2014 08:56:22 +0200 Subject: Rename test since the equity command is being tested, not the option --- test/baseline/cmd-equity.test | 58 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 test/baseline/cmd-equity.test (limited to 'test/baseline/cmd-equity.test') diff --git a/test/baseline/cmd-equity.test b/test/baseline/cmd-equity.test new file mode 100644 index 00000000..faffc085 --- /dev/null +++ b/test/baseline/cmd-equity.test @@ -0,0 +1,58 @@ +D 1000.00 GBP + +2011-03-04 Buy shares + Assets:Broker 2 AAA @ 0.90 GBP + Assets:Bank + +2011-03-05 Buy shares + Assets:Broker 2 AAA @ 1.00 GBP + Assets:Bank + +test equity +2011/03/05 Opening Balances + Assets:Bank -3.80 GBP + Assets:Broker 4 AAA + Equity:Opening Balances -4 AAA + Equity:Opening Balances 3.80 GBP +end test + +test equity assets +2011/03/05 Opening Balances + Assets:Bank -3.80 GBP + Assets:Broker 4 AAA + Equity:Opening Balances -4 AAA + Equity:Opening Balances 3.80 GBP +end test + +test equity assets:bank +2011/03/05 Opening Balances + Assets:Bank -3.80 GBP + Equity:Opening Balances +end test + +test equity assets:broker +2011/03/05 Opening Balances + Assets:Broker 4 AAA + Equity:Opening Balances +end test + +test equity --lot-prices +2011/03/05 Opening Balances + Assets:Bank -3.80 GBP + Assets:Broker 2 AAA {0.90 GBP} + Assets:Broker 2 AAA {1.00 GBP} + Equity:Opening Balances -2 AAA {0.90 GBP} + Equity:Opening Balances -2 AAA {1.00 GBP} + Equity:Opening Balances 3.80 GBP +end test + +test equity --lots --date-format %Y/%m/%d +2011/03/05 Opening Balances + Assets:Bank -3.80 GBP + Assets:Broker 2 AAA {0.90 GBP} [2011/03/04] + Assets:Broker 2 AAA {1.00 GBP} [2011/03/05] + Equity:Opening Balances -2 AAA {0.90 GBP} [2011/03/04] + Equity:Opening Balances -2 AAA {1.00 GBP} [2011/03/05] + Equity:Opening Balances 3.80 GBP +end test + -- cgit v1.2.3