summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/input/drewr.dat4
-rw-r--r--test/input/drewr3.dat67
2 files changed, 69 insertions, 2 deletions
diff --git a/test/input/drewr.dat b/test/input/drewr.dat
index 13b88844..b930de82 100644
--- a/test/input/drewr.dat
+++ b/test/input/drewr.dat
@@ -1,9 +1,9 @@
; -*- ledger -*-
-= account =~ /^Income/
+= /^Income/
(Liabilities:Tithe) 0.12
-~ Monthly
+~ monthly in 2004
Assets:Checking $500.00
Income:Salary
diff --git a/test/input/drewr3.dat b/test/input/drewr3.dat
new file mode 100644
index 00000000..fca61d24
--- /dev/null
+++ b/test/input/drewr3.dat
@@ -0,0 +1,67 @@
+; -*- ledger -*-
+
+= /^Income/
+ (Liabilities:Tithe) 0.12
+
+;~ Monthly
+; Assets:Checking $500.00
+; Income:Salary
+
+;~ Monthly
+; Expenses:Food $100
+; Assets
+
+2010/12/01 * Checking balance
+ Assets:Checking $1,000.00
+ Equity:Opening Balances
+
+2010/12/20 * Organic Co-op
+ Expenses:Food:Groceries $ 37.50 ; [=2011/01/01]
+ Expenses:Food:Groceries $ 37.50 ; [=2011/02/01]
+ Expenses:Food:Groceries $ 37.50 ; [=2011/03/01]
+ Expenses:Food:Groceries $ 37.50 ; [=2011/04/01]
+ Expenses:Food:Groceries $ 37.50 ; [=2011/05/01]
+ Expenses:Food:Groceries $ 37.50 ; [=2011/06/01]
+ Assets:Checking $ -225.00
+
+2010/12/28=2011/01/01 Acme Mortgage
+ Liabilities:Mortgage:Principal $ 200.00
+ Expenses:Interest:Mortgage $ 500.00
+ Expenses:Escrow $ 300.00
+ Assets:Checking $ -1000.00
+
+2011/01/02 Grocery Store
+ Expenses:Food:Groceries $ 65.00
+ Assets:Checking
+
+2011/01/05 Employer
+ Assets:Checking $ 2000.00
+ Income:Salary
+
+2011/01/14 Bank
+ ; Regular monthly savings transfer
+ Assets:Savings $ 300.00
+ Assets:Checking
+
+2011/01/19 Grocery Store
+ Expenses:Food:Groceries $ 44.00
+ Assets:Checking
+
+2011/01/25 Bank
+ ; Transfer to cover car purchase
+ Assets:Checking $ 5,500.00
+ Assets:Savings
+ ; :nobudget:
+
+2011/01/25 Tom's Used Cars
+ Expenses:Auto $ 5,500.00
+ ; :nobudget:
+ Assets:Checking
+
+2011/01/27 Book Store
+ Expenses:Books $20.00
+ Liabilities:MasterCard
+
+2011/12/01 Sale
+ Assets:Checking:Business $ 30.00
+ Income:Sales