summaryrefslogtreecommitdiff
path: root/test/baseline/opt-code-as-account.test
blob: f7e91a1818cc8662a6aff027f159ad8b9dc9a6b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
2008/01/01 * (100) January
    Expenses:Books          $10.00
    Assets:Cash

2008/01/31 (101) End of January
    Expenses:Books          $10.00
    Assets:Cash

2008/02/01 * (102) February
    Expenses:Books          $20.00
    Assets:Cash

2008/02/28 (103) End of February
    Expenses:Books          $20.00
    Assets:Cash

2008/03/01 * March
    Expenses:Books          $30.00
    Assets:Cash

test reg --account=code
08-Jan-01 January               100:Expenses:Books           $10.00       $10.00
08-Jan-01 January               100:Assets:Cash             $-10.00            0
08-Jan-31 End of January        101:Expenses:Books           $10.00       $10.00
08-Jan-31 End of January        101:Assets:Cash             $-10.00            0
08-Feb-01 February              102:Expenses:Books           $20.00       $20.00
08-Feb-01 February              102:Assets:Cash             $-20.00            0
08-Feb-28 End of February       103:Expenses:Books           $20.00       $20.00
08-Feb-28 End of February       103:Assets:Cash             $-20.00            0
08-Mar-01 March                 Expenses:Books               $30.00       $30.00
08-Mar-01 March                 Assets:Cash                 $-30.00            0
end test