diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2014-08-10 08:56:22 +0200 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2014-08-10 08:56:22 +0200 |
commit | 29bd78ca4b4aed966e7d2e698390daea1b756ba2 (patch) | |
tree | 832b480b1cee59abfce6127fa6abb61a2036d350 /test/baseline/cmd-equity.test | |
parent | 97ab8d7aeb714e3b18c4a225e49ead24b29e949c (diff) | |
download | fork-ledger-29bd78ca4b4aed966e7d2e698390daea1b756ba2.tar.gz fork-ledger-29bd78ca4b4aed966e7d2e698390daea1b756ba2.tar.bz2 fork-ledger-29bd78ca4b4aed966e7d2e698390daea1b756ba2.zip |
Rename test since the equity command is being tested, not the option
Diffstat (limited to 'test/baseline/cmd-equity.test')
-rw-r--r-- | test/baseline/cmd-equity.test | 58 |
1 files changed, 58 insertions, 0 deletions
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 + |