diff options
author | John Wiegley <johnw@newartisans.com> | 2009-06-13 17:44:12 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-06-13 17:44:12 +0100 |
commit | 15193ffb3b6558451045611572c9211f2593c062 (patch) | |
tree | 920a8fc8c16886eb2363a2fc30741020e748b86a /test/baseline/feat-balance-assignments.test | |
parent | 9c5c1eb7763d4bc38a6be579da03c349fb35e93d (diff) | |
download | fork-ledger-15193ffb3b6558451045611572c9211f2593c062.tar.gz fork-ledger-15193ffb3b6558451045611572c9211f2593c062.tar.bz2 fork-ledger-15193ffb3b6558451045611572c9211f2593c062.zip |
Added a baseline test for balance assignments
Diffstat (limited to 'test/baseline/feat-balance-assignments.test')
-rw-r--r-- | test/baseline/feat-balance-assignments.test | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/test/baseline/feat-balance-assignments.test b/test/baseline/feat-balance-assignments.test new file mode 100644 index 00000000..74fe9ddb --- /dev/null +++ b/test/baseline/feat-balance-assignments.test @@ -0,0 +1,37 @@ +bal +<<< +2009/01/01 Entry + Assets:Cash $10,000.00 + Equity:Opening Balances + +2009/02/01 Entry + Expenses:Cash $100.00 + Assets:Cash + +2009/02/02 Entry + Expenses:Cash $100.00 + Assets:Cash + +2009/02/03 Entry + Expenses:Cash $100.00 + Assets:Cash $-100.00 = $9,700.00 + +2009/02/04 Entry + Expenses:Cash $100.00 + Assets:Cash $-100.00 = $9,600.00 + +2009/02/05 Entry + Expenses:Cash $100.00 + Assets:Cash + +2009/02/05 Entry + Expenses:Cash + Assets:Cash = ($4,000.00 + $100.00) +>>>1 + $4,100.00 Assets:Cash + $-10,000.00 Equity:Opening Balances + $5,900.00 Expenses:Cash +-------------------- + 0 +>>>2 +=== 0 |