ledger/test/regress/C927CFFE.test
2012-03-22 19:41:06 +00:00

43 lines
1.5 KiB
Text

2010/02/09 * Test 1
A $10
B
2010/02/10 * Test 2
B $10
C
2010/02/11 * Test 3
C $10
D
test reg
test -l "date>=[2010/02/10]" reg
10-Feb-10 Test 2 B $10 $10
C $-10 0
10-Feb-11 Test 3 C $10 $10
D $-10 0
end test
test -l "date<=[2010/02/10]" reg
10-Feb-09 Test 1 A $10 $10
B $-10 0
10-Feb-10 Test 2 B $10 $10
C $-10 0
end test
test -l "date==[2010/02/10]" reg
10-Feb-10 Test 2 B $10 $10
C $-10 0
end test
test -l "date>[2010/02/10]" reg
10-Feb-11 Test 3 C $10 $10
D $-10 0
end test
test -l "date<[2010/02/10]" reg
10-Feb-09 Test 1 A $10 $10
B $-10 0
end test