summaryrefslogtreecommitdiff
path: root/test/baseline/opt-price.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline/opt-price.test')
-rw-r--r--test/baseline/opt-price.test30
1 files changed, 15 insertions, 15 deletions
diff --git a/test/baseline/opt-price.test b/test/baseline/opt-price.test
index 023cfbde..2ebd061e 100644
--- a/test/baseline/opt-price.test
+++ b/test/baseline/opt-price.test
@@ -1,5 +1,3 @@
-reg equities
-<<<
2008/01/01 * Purchase Apple shares
Equities 1000 AAPL @ $2
Cash $-2000
@@ -12,30 +10,32 @@ reg equities
P 2008/10/01 02:18:02 AAPL $3
P 2009/01/31 02:18:02 AAPL $4
P 3000/01/01 02:18:02 APPL $100
->>>1
+
+test reg equities
08-Jan-01 Purchase Apple shares Equities 1000 AAPL 1000 AAPL
08-Jun-30 Sell some Apple sha.. Equities -500 AAPL 500 AAPL
-=== 0
-reg -B equities
->>>1
+end test
+
+test reg -B equities
08-Jan-01 Purchase Apple shares Equities $2000 $2000
08-Jun-30 Sell some Apple sha.. Equities $-1250 $750
-=== 0
-reg --end 2009/06/26 -V equities
->>>1
+end test
+
+test 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-Jan-31 Commodities revalued <Revalued> $250 $1500
09-Jun-26 Commodities revalued <Revalued> $500 $2000
-=== 0
-reg --end 2009/06/26 -G equities
->>>1
+end test
+
+test reg --end 2009/06/26 -G equities
08-Jun-30 Commodities revalued <Revalued> $500 $500
09-Jan-31 Commodities revalued <Revalued> $250 $750
09-Jun-26 Commodities revalued <Revalued> $500 $1250
-=== 0
-reg -I equities
->>>1
+end test
+
+test reg -I equities
08-Jan-01 Purchase Apple shares Equities $2000 $2000
08-Jun-30 Sell some Apple sha.. Equities $-1000 $1000
+end test