summaryrefslogtreecommitdiff
path: root/test/baseline/feat-balance_assert_split.test
blob: ad2993259f6d618c7b7b29994d7be6d076247f85 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
;; a.dat

2012-01-01 Test
    Expenses:Unknown        $100.00
    Liabilities:MasterCard

2012-01-02 Test
    Expenses:Unknown        $100.00
    Liabilities:MasterCard

2012-01-03 Test
    Expenses:Unknown        $100.00
    Liabilities:MasterCard

2012-01-04 Test
    ; UUID: foo
    Liabilities:MasterCard  $150.00 = $-150
    <Assets:Checking>

2012-01-04 Test
    ; UUID: bar
    Liabilities:MasterCard  $150.00 = $0
    <Assets:Checking>

2012-01-04 Test
    ; UUID: baz
    Liabilities:MasterCard  $150.00 = $150
    <Assets:Checking>

;; b.dat

2012-01-01 Test
    Assets:Checking         $150.00
    Income

2012-01-02 Test
    Assets:Checking         $150.00
    Income

2012-01-03 Test
    Assets:Checking         $150.00
    Income

2012-01-04 Test
    ; UUID: foo
    Liabilities:MasterCard  $150.00
    Assets:Checking        $-150.00 = $300.00

2012-01-04 Test
    ; UUID: bar
    Liabilities:MasterCard  $150.00
    Assets:Checking        $-150.00 = $150.00

test balance
             $300.00  Expenses:Unknown
            $-450.00  Income
             $150.00  Liabilities:MasterCard
--------------------
                   0
end test