summaryrefslogtreecommitdiff
path: root/test/baseline/opt-display-total.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline/opt-display-total.test')
-rw-r--r--test/baseline/opt-display-total.test65
1 files changed, 65 insertions, 0 deletions
diff --git a/test/baseline/opt-display-total.test b/test/baseline/opt-display-total.test
new file mode 100644
index 00000000..9a6e67d6
--- /dev/null
+++ b/test/baseline/opt-display-total.test
@@ -0,0 +1,65 @@
+reg --display-total='amount * 10' books
+<<<
+2008/01/01 January
+ Expenses:Books $10.00
+ Assets:Cash
+
+2008/01/01 End of January
+ Expenses:Books $10.00
+ Assets:Cash
+
+2008/01/01 January
+ Expenses:Books $10.00
+ Assets:Cash
+
+2008/01/01 End of January
+ Expenses:Books $10.00
+ Assets:Cash
+
+2008/01/01 January
+ Expenses:Books $10.00
+ Assets:Cash
+
+2008/01/01 End of January
+ Expenses:Books $10.00
+ Assets:Cash
+
+2008/02/01 February
+ Expenses:Books $20.00
+ Assets:Cash
+
+2008/02/01 End of February
+ Expenses:Books $20.00
+ Assets:Cash
+
+2008/02/01 February
+ Expenses:Books $20.00
+ Assets:Cash
+
+2008/02/01 End of February
+ Expenses:Books $20.00
+ Assets:Cash
+
+2008/02/01 February
+ Expenses:Books $20.00
+ Assets:Cash
+
+2008/02/01 End of February
+ Expenses:Books $20.00
+ Assets:Cash
+
+>>>1
+08-Jan-01 January Expenses:Books $10.00 $100.00
+08-Jan-01 End of January Expenses:Books $10.00 $100.00
+08-Jan-01 January Expenses:Books $10.00 $100.00
+08-Jan-01 End of January Expenses:Books $10.00 $100.00
+08-Jan-01 January Expenses:Books $10.00 $100.00
+08-Jan-01 End of January Expenses:Books $10.00 $100.00
+08-Feb-01 February Expenses:Books $20.00 $200.00
+08-Feb-01 End of February Expenses:Books $20.00 $200.00
+08-Feb-01 February Expenses:Books $20.00 $200.00
+08-Feb-01 End of February Expenses:Books $20.00 $200.00
+08-Feb-01 February Expenses:Books $20.00 $200.00
+08-Feb-01 End of February Expenses:Books $20.00 $200.00
+>>>2
+=== 0