diff options
author | John Wiegley <johnw@newartisans.com> | 2010-05-30 21:58:05 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-05-30 21:58:05 -0600 |
commit | 654c842348c570a086f31cb79b7b3b4810463707 (patch) | |
tree | 846fb1a0f16f19af08c3c9a4ce035733b573e3e4 /test/baseline | |
parent | 5a2644c1b7220dc96e4de9cfb82f6d829cf34321 (diff) | |
download | fork-ledger-654c842348c570a086f31cb79b7b3b4810463707.tar.gz fork-ledger-654c842348c570a086f31cb79b7b3b4810463707.tar.bz2 fork-ledger-654c842348c570a086f31cb79b7b3b4810463707.zip |
-G option now takes price history into account
Diffstat (limited to 'test/baseline')
-rw-r--r-- | test/baseline/opt-gain.test | 3 | ||||
-rw-r--r-- | test/baseline/opt-price.test | 3 |
2 files changed, 4 insertions, 2 deletions
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 bf302264..133b2155 100644 --- a/test/baseline/opt-price.test +++ b/test/baseline/opt-price.test @@ -37,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 |