From 025d136974939af598ba3a07dd41ca460b5868f9 Mon Sep 17 00:00:00 2001 From: tripun Date: Sat, 9 Aug 2014 15:53:12 +0530 Subject: added test for alternatives of --gain , i.e --change and -G --- test/baseline/opt-gain.test | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 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 + -- cgit v1.2.3