diff options
Diffstat (limited to 'test/baseline')
-rw-r--r-- | test/baseline/cmd-print.test | 11 | ||||
-rw-r--r-- | test/baseline/opt-code-as-payee.test | 4 | ||||
-rw-r--r-- | test/baseline/opt-gain.test | 3 | ||||
-rw-r--r-- | test/baseline/opt-price.test | 6 |
4 files changed, 19 insertions, 5 deletions
diff --git a/test/baseline/cmd-print.test b/test/baseline/cmd-print.test new file mode 100644 index 00000000..6099b39f --- /dev/null +++ b/test/baseline/cmd-print.test @@ -0,0 +1,11 @@ +print --decimal-comma +<<< +2008/12/31 Market + Expenses:Food ($10,00 + $2,50) + Assets:Cash +>>>1 +2008/12/31 Market + Expenses:Food ($10,00 + $2,50) + Assets:Cash +>>>2 +=== 0 diff --git a/test/baseline/opt-code-as-payee.test b/test/baseline/opt-code-as-payee.test index c2988626..99aa182e 100644 --- a/test/baseline/opt-code-as-payee.test +++ b/test/baseline/opt-code-as-payee.test @@ -28,7 +28,7 @@ reg --payee=code 08-Feb-01 102 Assets:Cash $-20.00 0 08-Feb-28 103 Expenses:Books $20.00 $20.00 08-Feb-28 103 Assets:Cash $-20.00 0 -08-Mar-01 Expenses:Books $30.00 $30.00 -08-Mar-01 Assets:Cash $-30.00 0 +08-Mar-01 March Expenses:Books $30.00 $30.00 +08-Mar-01 March Assets:Cash $-30.00 0 >>>2 === 0 diff --git a/test/baseline/opt-gain.test b/test/baseline/opt-gain.test index 8aeb8bab..63055d5f 100644 --- a/test/baseline/opt-gain.test +++ b/test/baseline/opt-gain.test @@ -50,7 +50,8 @@ P 2010/03/01 00:00:00 S 8 P P 2010/04/01 00:00:00 S 16 P >>>1 09-Jan-01 Sample 1a As:Brokerage:Stocks 0 0 -09-Feb-01 Commodities revalued <Revalued> 300 P 300 P +09-Jan-15 Commodities revalued <Revalued> 100 P 100 P +09-Feb-01 Commodities revalued <Revalued> 200 P 300 P 09-Feb-01 Sample 2a As:Brokerage:Stocks 300 P 600 P 09-Mar-01 Commodities revalued <Revalued> 800 P 1400 P 09-Mar-01 Sample 3a As:Brokerage:Stocks 700 P 2100 P diff --git a/test/baseline/opt-price.test b/test/baseline/opt-price.test index 06cc7751..133b2155 100644 --- a/test/baseline/opt-price.test +++ b/test/baseline/opt-price.test @@ -28,7 +28,8 @@ reg --end 2009/06/26 -V equities 08-Jan-01 Purchase Apple shares Equities $2000 $2000 08-Jun-30 Commodities revalued <Revalued> $500 $2500 08-Jun-30 Sell some Apple sha.. Equities $-1250 $1250 -09-Jun-26 Commodities revalued <Revalued> $750 $2000 +09-Jan-31 Commodities revalued <Revalued> $250 $1500 +09-Jun-26 Commodities revalued <Revalued> $500 $2000 >>>2 === 0 reg --end 2009/06/26 -G equities @@ -36,7 +37,8 @@ reg --end 2009/06/26 -G equities 08-Jan-01 Purchase Apple shares Equities 0 0 08-Jun-30 Commodities revalued <Revalued> $500 $500 08-Jun-30 Sell some Apple sha.. Equities 0 $500 -09-Jun-26 Commodities revalued <Revalued> $750 $1250 +09-Jan-31 Commodities revalued <Revalued> $250 $750 +09-Jun-26 Commodities revalued <Revalued> $500 $1250 >>>2 === 0 reg -I equities |