diff options
author | tripun <tripun@gmail.com> | 2014-08-09 15:53:12 +0530 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2014-08-10 08:41:50 +0200 |
commit | 025d136974939af598ba3a07dd41ca460b5868f9 (patch) | |
tree | e391edaae5300723af1fa783f8844a840ccd244d /test/baseline/opt-gain.test | |
parent | c05432b84f91f2d803302c8e7668878c10f8f31e (diff) | |
download | fork-ledger-025d136974939af598ba3a07dd41ca460b5868f9.tar.gz fork-ledger-025d136974939af598ba3a07dd41ca460b5868f9.tar.bz2 fork-ledger-025d136974939af598ba3a07dd41ca460b5868f9.zip |
added test for alternatives of --gain , i.e --change and -G
Diffstat (limited to 'test/baseline/opt-gain.test')
-rw-r--r-- | test/baseline/opt-gain.test | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/baseline/opt-gain.test b/test/baseline/opt-gain.test index 4370a22e..52439080 100644 --- a/test/baseline/opt-gain.test +++ b/test/baseline/opt-gain.test @@ -26,7 +26,7 @@ P 2009/04/01 00:00:00 S 16 P ; 2010/01/01 Sample 1b ; Assets:Brokerage:Cash -100 P ; Assets:Brokerage:Stocks 100 S -; +; ; P 2010/01/01 00:00:00 S 2 P 2010/02/01 Sample 2b @@ -62,3 +62,12 @@ test reg --gain stocks 10-Apr-01 Commodities revalued <Revalued> 3200 P 6000 P 10-Apr-01 Sample 4b Asset:Brokerage:Stocks -1500 P 4500 P end test + +test bal --change + 4500 P Assets:Brokerage:Stocks +end test + +test bal -G + 4500 P Assets:Brokerage:Stocks +end test + |