summaryrefslogtreecommitdiff
path: root/test/baseline/opt-display-amount.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-20 19:36:28 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-20 19:36:28 -0400
commit8ed4f3562fc1ffbb3f393da603fcf45f7a0050b2 (patch)
treeb9e52df8869a4fd83b3bc2e1ceba68cb1f665e9c /test/baseline/opt-display-amount.test
parent96782df17c5e23dfb86bac745d9f7553a6f74fd4 (diff)
downloadfork-ledger-8ed4f3562fc1ffbb3f393da603fcf45f7a0050b2.tar.gz
fork-ledger-8ed4f3562fc1ffbb3f393da603fcf45f7a0050b2.tar.bz2
fork-ledger-8ed4f3562fc1ffbb3f393da603fcf45f7a0050b2.zip
Added more option baseline tests, enabled --dow
Diffstat (limited to 'test/baseline/opt-display-amount.test')
-rw-r--r--test/baseline/opt-display-amount.test65
1 files changed, 65 insertions, 0 deletions
diff --git a/test/baseline/opt-display-amount.test b/test/baseline/opt-display-amount.test
new file mode 100644
index 00000000..45eac079
--- /dev/null
+++ b/test/baseline/opt-display-amount.test
@@ -0,0 +1,65 @@
+reg --display-amount='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 $100.00 $10.00
+08-Jan-01 End of January Expenses:Books $100.00 $20.00
+08-Jan-01 January Expenses:Books $100.00 $30.00
+08-Jan-01 End of January Expenses:Books $100.00 $40.00
+08-Jan-01 January Expenses:Books $100.00 $50.00
+08-Jan-01 End of January Expenses:Books $100.00 $60.00
+08-Feb-01 February Expenses:Books $200.00 $80.00
+08-Feb-01 End of February Expenses:Books $200.00 $100.00
+08-Feb-01 February Expenses:Books $200.00 $120.00
+08-Feb-01 End of February Expenses:Books $200.00 $140.00
+08-Feb-01 February Expenses:Books $200.00 $160.00
+08-Feb-01 End of February Expenses:Books $200.00 $180.00
+>>>2
+=== 0