Added baseline test for "sample.dat" contents
This commit is contained in:
parent
87a1b1a6c3
commit
ef5c0b37d5
1 changed files with 91 additions and 0 deletions
91
test/baseline/test-sample.dat
Normal file
91
test/baseline/test-sample.dat
Normal file
|
|
@ -0,0 +1,91 @@
|
||||||
|
reg
|
||||||
|
<<<
|
||||||
|
; -*- ledger -*-
|
||||||
|
|
||||||
|
N $
|
||||||
|
|
||||||
|
= /^Expenses:Books/
|
||||||
|
(Liabilities:Taxes) -0.10
|
||||||
|
|
||||||
|
~ Monthly
|
||||||
|
Assets:Bank:Checking $500.00
|
||||||
|
Income:Salary
|
||||||
|
|
||||||
|
~ Yearly
|
||||||
|
Expenses:Donations $100.00
|
||||||
|
Assets:Bank:Checking
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
tag foo
|
||||||
|
|
||||||
|
2004/05/27 Book Store
|
||||||
|
Expenses:Books $20.00
|
||||||
|
Expenses:Cards $40.00
|
||||||
|
Expenses:Docs $30.00
|
||||||
|
Liabilities:MasterCard
|
||||||
|
|
||||||
|
end tag
|
||||||
|
|
||||||
|
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:
|
||||||
|
>>>1
|
||||||
|
04-May-01 Checking balance Assets:Bank:Checking $1,000.00 $1,000.00
|
||||||
|
Eq:Opening Balances $-1,000.00 0
|
||||||
|
04-May-03 Investment balance Assets:Brokerage 50 AAPL 50 AAPL
|
||||||
|
Eq:Opening Balances $-1,500.00 $-1,500.00
|
||||||
|
50 AAPL
|
||||||
|
04-May-14 Páy dày Assets:Bank:Checking 500.00€ $-1,500.00
|
||||||
|
50 AAPL
|
||||||
|
500.00€
|
||||||
|
Income:Salary -500.00€ $-1,500.00
|
||||||
|
50 AAPL
|
||||||
|
04-May-14 Another dày in whic.. ..Bá:Ch:As:Bá:Chécking $500.00 $-1,000.00
|
||||||
|
50 AAPL
|
||||||
|
Income:Salary $-500.00 $-1,500.00
|
||||||
|
50 AAPL
|
||||||
|
04-May-14 Another dày in whic.. Ру:Ак:Ру:Русский язык $1,000.00 $-500.00
|
||||||
|
50 AAPL
|
||||||
|
Income:Salary $-1,000.00 $-1,500.00
|
||||||
|
50 AAPL
|
||||||
|
04-May-27 Book Store Expenses:Books $20.00 $-1,480.00
|
||||||
|
50 AAPL
|
||||||
|
Expenses:Cards $40.00 $-1,440.00
|
||||||
|
50 AAPL
|
||||||
|
Expenses:Docs $30.00 $-1,410.00
|
||||||
|
50 AAPL
|
||||||
|
Liabilities:MasterCard $-90.00 $-1,500.00
|
||||||
|
50 AAPL
|
||||||
|
(Liabilities:Taxes) $-2.00 $-1,502.00
|
||||||
|
50 AAPL
|
||||||
|
04-May-27 Credit card company Liabilities:MasterCard $20.00 $-1,482.00
|
||||||
|
50 AAPL
|
||||||
|
Assets:Bank:Checking $-20.00 $-1,502.00
|
||||||
|
50 AAPL
|
||||||
|
>>>2
|
||||||
|
=== 0
|
||||||
Loading…
Add table
Reference in a new issue