summaryrefslogtreecommitdiff
path: root/test/baseline/cmd-register.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2012-03-25 14:54:50 +0100
committerMartin Michlmayr <tbm@cyrius.com>2012-03-25 14:54:50 +0100
commitd9baad45fac94190cf410629c216628e18cc5d75 (patch)
treeae3e86ef95d9d7e0b2514fb3639dc4859efcdc0a /test/baseline/cmd-register.test
parent8962d9c904d5630b508ca2b10f2bf66e7f32a30b (diff)
downloadfork-ledger-d9baad45fac94190cf410629c216628e18cc5d75.tar.gz
fork-ledger-d9baad45fac94190cf410629c216628e18cc5d75.tar.bz2
fork-ledger-d9baad45fac94190cf410629c216628e18cc5d75.zip
Add more baseline tests
Diffstat (limited to 'test/baseline/cmd-register.test')
-rw-r--r--test/baseline/cmd-register.test40
1 files changed, 40 insertions, 0 deletions
diff --git a/test/baseline/cmd-register.test b/test/baseline/cmd-register.test
new file mode 100644
index 00000000..afb78fb0
--- /dev/null
+++ b/test/baseline/cmd-register.test
@@ -0,0 +1,40 @@
+2012-01-10 * Phone expense on holidays
+ Expenses:Phone 12.00 EUR @@ 10.00 GBP
+ Assets:Cash -10.00 GBP
+
+2012-01-31 * Rent expense
+ Expenses:Rent 550.00 GBP
+ Assets:Cash -550.00 GBP
+
+2012-02-01 * Buy AAA
+ Assets:Investment 1 AAA @ 10.00 GBP
+ Assets:Cash -10.00 GBP
+
+test reg
+12-Jan-10 Phone expense on ho.. Expenses:Phone 12.00 EUR 12.00 EUR
+ Assets:Cash -10.00 GBP 12.00 EUR
+ -10.00 GBP
+12-Jan-31 Rent expense Expenses:Rent 550.00 GBP 12.00 EUR
+ 540.00 GBP
+ Assets:Cash -550.00 GBP 12.00 EUR
+ -10.00 GBP
+12-Feb-01 Buy AAA Assets:Investment 1 AAA 1 AAA
+ 12.00 EUR
+ -10.00 GBP
+ Assets:Cash -10.00 GBP 1 AAA
+ 12.00 EUR
+ -20.00 GBP
+end test
+
+test r :inve
+12-Feb-01 Buy AAA Assets:Investment 1 AAA 1 AAA
+end test
+
+test reg :inve
+12-Feb-01 Buy AAA Assets:Investment 1 AAA 1 AAA
+end test
+
+test register :inve
+12-Feb-01 Buy AAA Assets:Investment 1 AAA 1 AAA
+end test
+