diff options
Diffstat (limited to 'test/regress/543_d.test')
-rw-r--r-- | test/regress/543_d.test | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/regress/543_d.test b/test/regress/543_d.test new file mode 100644 index 00000000..3b4e825a --- /dev/null +++ b/test/regress/543_d.test @@ -0,0 +1,32 @@ +2018/01/01 * Opening Balance + Assets:Checking $100.00 + Equity:Opening Balances + +2018/01/01 * Budget + [Assets:Checking] = 0 + [Assets:Budget:Food:Groceries] $20.00 + [Assets:Budget:Food:Restaurants] $80.00 + +2018/01/02 * Groceries + Assets:Checking = $80.00 + Expenses:Groceries + +test bal + $80.00 Assets + $100.00 Budget:Food + $20.00 Groceries + $80.00 Restaurants + $-20.00 Checking + $-100.00 Equity:Opening Balances + $20.00 Expenses:Groceries +-------------------- + 0 +end test + +test bal -R + $80.00 Assets:Checking + $-100.00 Equity:Opening Balances + $20.00 Expenses:Groceries +-------------------- + 0 +end test |