12008/01/01 January
2    Expenses:Books          $10.00
3    Assets:Cash
4
52008/01/01 January
6    Expenses:One:Books          $10.00
7    Expenses:One:Two:Books          $10.00
8    Expenses:One:Two:Three:Books          $10.00
9    Assets:Cash
10
112008/01/01 January
12    Assets:Cash    0
13    Income:Books
14
152008/01/01 January
16    Assets:Cash
17    Income:One:Books          $-10.00
18    Income:One:Two:Books          $-10.00
19    Income:One:Two:Three:Books          $-10.00
20
21test bal --depth 1
22             $-10.00  Assets
23              $40.00  Expenses
24             $-30.00  Income
25--------------------
26                   0
27end test
28
29test bal --depth 2
30             $-10.00  Assets:Cash
31              $40.00  Expenses
32              $10.00    Books
33              $30.00    One
34             $-30.00  Income:One
35--------------------
36                   0
37end test
38
39test bal --depth 3
40             $-10.00  Assets:Cash
41              $40.00  Expenses
42              $10.00    Books
43              $30.00    One
44              $10.00      Books
45              $20.00      Two
46             $-30.00  Income:One
47             $-10.00    Books
48             $-20.00    Two
49--------------------
50                   0
51end test
52
53test bal --depth 4
54             $-10.00  Assets:Cash
55              $40.00  Expenses
56              $10.00    Books
57              $30.00    One
58              $10.00      Books
59              $20.00      Two
60              $10.00        Books
61              $10.00        Three
62             $-30.00  Income:One
63             $-10.00    Books
64             $-20.00    Two
65             $-10.00      Books
66             $-10.00      Three
67--------------------
68                   0
69end test
70
71test bal --depth 5
72             $-10.00  Assets:Cash
73              $40.00  Expenses
74              $10.00    Books
75              $30.00    One
76              $10.00      Books
77              $20.00      Two
78              $10.00        Books
79              $10.00        Three:Books
80             $-30.00  Income:One
81             $-10.00    Books
82             $-20.00    Two
83             $-10.00      Books
84             $-10.00      Three:Books
85--------------------
86                   0
87end test
88