summaryrefslogtreecommitdiff
path: root/test/input
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-28 06:18:21 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-28 06:18:21 -0400
commit5afc4c3770380bd653168772c79008959dfc125f (patch)
treea91ece323bf2e3e68ca08f2136af45e75e951a8e /test/input
parent19cfd9e23b7cd4a7976591290b17e7ba20dd5a50 (diff)
downloadfork-ledger-5afc4c3770380bd653168772c79008959dfc125f.tar.gz
fork-ledger-5afc4c3770380bd653168772c79008959dfc125f.tar.bz2
fork-ledger-5afc4c3770380bd653168772c79008959dfc125f.zip
Reorganized some files in tools/ and test/
Diffstat (limited to 'test/input')
-rw-r--r--test/input/drewr.dat59
-rw-r--r--test/input/sample.dat44
-rw-r--r--test/input/transfer.dat220
3 files changed, 323 insertions, 0 deletions
diff --git a/test/input/drewr.dat b/test/input/drewr.dat
new file mode 100644
index 00000000..937daa5c
--- /dev/null
+++ b/test/input/drewr.dat
@@ -0,0 +1,59 @@
+; -*- ledger -*-
+
+= account =~ /^Income/
+ (Liabilities:Tithe) 0.12
+
+~ Monthly
+ Assets:Checking $500.00
+ Income:Salary
+
+2003/12/01 * Checking balance
+ Assets:Checking $1,000.00
+ Equity:Opening Balances
+
+2003/12/20 Organic Co-op
+ Expenses:Food:Groceries $ 37.50 ; [=2004/01/01]
+ Expenses:Food:Groceries $ 37.50 ; [=2004/02/01]
+ Expenses:Food:Groceries $ 37.50 ; [=2004/03/01]
+ Expenses:Food:Groceries $ 37.50 ; [=2004/04/01]
+ Expenses:Food:Groceries $ 37.50 ; [=2004/05/01]
+ Expenses:Food:Groceries $ 37.50 ; [=2004/06/01]
+ Assets:Checking $ -225.00
+
+2003/12/28=2004/01/01 Acme Mortgage
+ Liabilities:Mortgage:Principal $ 200.00
+ Expenses:Interest:Mortgage $ 500.00
+ Expenses:Escrow $ 300.00
+ Assets:Checking $ -1000.00
+
+2004/01/02 Grocery Store
+ Expenses:Food:Groceries $ 65.00
+ Assets:Checking
+
+2004/01/05 Employer
+ Assets:Checking $ 2000.00
+ Income:Salary
+
+2004/01/14 Bank
+ ; Regular monthly savings transfer
+ Assets:Savings $ 300.00
+ Assets:Checking
+
+2004/01/19 Grocery Store
+ Expenses:Food:Groceries $ 44.00
+ Assets:Checking
+
+2004/01/25 Bank
+ ; Transfer to cover car purchase
+ Assets:Checking $ 5,500.00
+ Assets:Savings
+ ; :nobudget:
+
+2004/01/25 Tom's Used Cars
+ Expenses:Auto $ 5,500.00
+ ; :nobudget:
+ Assets:Checking
+
+2004/01/27 Book Store
+ Expenses:Books $20.00
+ Liabilities:MasterCard
diff --git a/test/input/sample.dat b/test/input/sample.dat
new file mode 100644
index 00000000..002d20ee
--- /dev/null
+++ b/test/input/sample.dat
@@ -0,0 +1,44 @@
+N $
+
+= account =~ /^Expenses:Books/
+ (Liabilities:Taxes) -0.10
+
+~ Monthly
+ Assets:Bank:Checking $500.00
+ Income:Salary
+
+2004/05/01 * Checking balance
+ Assets:Bank:Checking $1,000.00
+ Equity:Opening Balances
+
+2004/05/03=2004/05/01 * Investment balance
+ Assets:Brokerage 50 AAPL @ $30.00
+ Equity:Opening Balances
+
+2004/05/14 * Páy dày
+ Assets:Bank:Checking 500.00€
+ Income:Salary
+
+2004/05/14 * Another dày in which there is Páying
+ Asséts:Bánk:Chécking:Asséts:Bánk:Chécking $500.00
+ Income:Salary
+
+2004/05/14 * Another dày in which there is Páying
+ Русский язык:Русский язык:Русский язык:Русский язык $1000.00
+ Income:Salary
+
+2004/05/27 Book Store
+ Expenses:Books $20.00
+ Expenses:Cards $40.00
+ Expenses:Docs $30.00
+ Liabilities:MasterCard
+
+2004/05/27 (100) Credit card company
+ ; This is an xact note!
+ ; Sample: Value
+ Liabilities:MasterCard $20.00
+ ; This is a posting note!
+ ; Sample: Another Value
+ ; :MyTag:
+ Assets:Bank:Checking
+ ; :AnotherTag:
diff --git a/test/input/transfer.dat b/test/input/transfer.dat
new file mode 100644
index 00000000..1e2991dc
--- /dev/null
+++ b/test/input/transfer.dat
@@ -0,0 +1,220 @@
+2004/08/02 Transfer to hcoop.net
+ Expenses:Internet 59820 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/02 Transfer to hcoop.net
+ Expenses:Internet 58626 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/02 Transfer to hcoop.net
+ Expenses:Internet 2997279 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/03 Transfer to hcoop.net
+ Expenses:Internet 227266 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/03 Transfer to hcoop.net
+ Expenses:Internet 54375 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/05 Transfer to hcoop.net
+ Expenses:Internet 54353 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/07 Transfer to hcoop.net
+ Expenses:Internet 54353 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/16 Transfer to hcoop.net
+ Expenses:Internet 54353 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/20 Transfer to hcoop.net
+ Expenses:Internet 133967 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/20 Transfer to hcoop.net
+ Expenses:Internet 124438 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/21 Transfer to hcoop.net
+ Expenses:Internet 148691 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/22 Transfer to hcoop.net
+ Expenses:Internet 660168 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/22 Transfer to hcoop.net
+ Expenses:Internet 2876287 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/24 Transfer to hcoop.net
+ Expenses:Internet 55166 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/24 Transfer to hcoop.net
+ Expenses:Internet 54743 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/28 Transfer to hcoop.net
+ Expenses:Internet 2414720 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/30 Transfer to hcoop.net
+ Expenses:Internet 396873 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/30 Transfer to hcoop.net
+ Expenses:Internet 2482301 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/08/31 Transfer to hcoop.net
+ Expenses:Internet 3696731 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/01 Transfer to hcoop.net
+ Expenses:Internet 2748364 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/05 Transfer to hcoop.net
+ Expenses:Internet 2500517 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/06 Transfer to hcoop.net
+ Expenses:Internet 54910 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/06 Transfer to hcoop.net
+ Expenses:Internet 9196055 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/07 Transfer to hcoop.net
+ Expenses:Internet 2640950 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/07 Transfer to hcoop.net
+ Expenses:Internet 94442 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/08 Transfer to hcoop.net
+ Expenses:Internet 2579158 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/08 Transfer to hcoop.net
+ Expenses:Internet 530904 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/08 Transfer to hcoop.net
+ Expenses:Internet 27368 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/08 Transfer to hcoop.net
+ Expenses:Internet 6593 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/08 Transfer to hcoop.net
+ Expenses:Internet 279 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/08 Transfer to hcoop.net
+ Expenses:Internet 773 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/09 Transfer to hcoop.net
+ Expenses:Internet 4217461 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/10 Transfer to hcoop.net
+ Expenses:Internet 100241 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/10 Transfer to hcoop.net
+ Expenses:Internet 117866 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/10 Transfer to hcoop.net
+ Expenses:Internet 111275 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/11 Transfer to hcoop.net
+ Expenses:Internet 2717020 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/12 Transfer to hcoop.net
+ Expenses:Internet 88188 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/13 Transfer to hcoop.net
+ Expenses:Internet 3046553 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/13 Transfer to hcoop.net
+ Expenses:Internet 3370971 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/13 Transfer to hcoop.net
+ Expenses:Internet 2941407 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/13 Transfer to hcoop.net
+ Expenses:Internet 2101943 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/15 Transfer to hcoop.net
+ Expenses:Internet 3050131 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/15 Transfer to hcoop.net
+ Expenses:Internet 2638687 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/15 Transfer to hcoop.net
+ Expenses:Internet 2668178 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/16 Transfer to hcoop.net
+ Expenses:Internet 2645212 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/17 Transfer to hcoop.net
+ Expenses:Internet 336579 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/17 Transfer to hcoop.net
+ Expenses:Internet 104305 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/18 Transfer to hcoop.net
+ Expenses:Internet 3117533 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/19 Transfer to hcoop.net
+ Expenses:Internet 120777 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/20 Transfer to hcoop.net
+ Expenses:Internet 193151 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/20 Transfer to hcoop.net
+ Expenses:Internet 56204 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/21 Transfer to hcoop.net
+ Expenses:Internet 315126 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/22 Transfer to hcoop.net
+ Expenses:Internet 138076 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/09/24 Transfer to hcoop.net
+ Expenses:Internet 817190 bytes
+ Liabilities:Payable:hcoop.net
+
+2004/10/05 Transfer to hcoop.net
+ Expenses:Internet 356104 bytes
+ Liabilities:Payable:hcoop.net
+