Add more baseline tests

This commit is contained in:
Martin Michlmayr 2012-03-23 09:54:18 +00:00
parent 902d09fd16
commit db20ad8f29
3 changed files with 110 additions and 0 deletions

View file

@ -0,0 +1,38 @@
2011-01-01 * Opening balance
Assets:Bank 10.00 GBP
Equity:Opening balance
2012-01-02 * List XXX before AAA to test sorting
Assets:XXX 5.00 GBP
Assets:Bank
2012-01-03 * List AAA after XXX to test sorting
Assets:AAA 3.00 GBP
Assets:Bank
2012-01-03 * Account name with UTF-8
Assets:♚ 3.00 GBP
Assets:Testing123ÕßDone
test accounts
Assets:Bank
Equity:Opening balance
Assets:XXX
Assets:AAA
Assets:♚
Assets:Testing123ÕßDone
end test
test accounts assets:a
Assets:AAA
end test
test accounts b
Assets:Bank
Equity:Opening balance
end test
test accounts ß
Assets:Testing123ÕßDone
end test

View file

@ -0,0 +1,30 @@
2011-01-01 * Opening balance
Assets:Bank 10.00 GBP
Equity:Opening balance
2011-03-04 * Buy AAA
Assets:Broker 2 AAA @ 0.90 GBP
Assets:Bank -1.80 GBP
2011-03-05 * Buy AA2
Assets:Broker 2 "AA2" @ 1.00 GBP
Assets:Bank
2011-03-06 * Get Miles&More airmiles
Assets:Rewards 1000 "M&M"
Income:Rewards
test commodities
GBP
AAA
"AA2"
"M&M"
end test
test commodities Assets:Rewards
"M&M"
end test
test commodities no:such:account
end test

View file

@ -0,0 +1,42 @@
2011-03-01 * Z
A 10
B
2011-03-02 * A
C 10
D
2011-03-03 * 9
B 10
E
2011-03-04 * B
B 10
E
2011-03-05 * 1
B 10
E
test payees
1
9
A
B
Z
end test
test payees a
Z
end test
test payees no:such:account
end test
test payees "^B$"
1
9
B
Z
end test