summaryrefslogtreecommitdiff
path: root/test/baseline/opt-effective.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline/opt-effective.test')
-rw-r--r--test/baseline/opt-effective.test22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/baseline/opt-effective.test b/test/baseline/opt-effective.test
new file mode 100644
index 00000000..adf9f8af
--- /dev/null
+++ b/test/baseline/opt-effective.test
@@ -0,0 +1,22 @@
+reg --effective
+<<<
+2008/01/01 January
+ Expenses:Books $10.00
+ Assets:Cash
+
+2008/01/31=2008/01/01 End of January
+ Expenses:Books $10.00 ; [=2008/02/01]
+ Assets:Cash
+
+2008/02/01 February
+ Expenses:Books $20.00
+ Assets:Cash
+>>>1
+08-Jan-01 January Expenses:Books $10.00 $10.00
+ Assets:Cash $-10.00 0
+08-Jan-01 End of January Assets:Cash $-10.00 $-10.00
+08-Feb-01 End of January Expenses:Books $10.00 0
+08-Feb-01 February Expenses:Books $20.00 $20.00
+ Assets:Cash $-20.00 0
+>>>2
+=== 0