F524E251.test 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. ; Test for: ledger -f doc/sample.dat -n reg' shows $0.00 on first post
  2. = /^Expenses:Books/
  3. (Liabilities:Taxes) -0.10
  4. ~ Monthly
  5. Assets:Bank:Checking $500.00
  6. Income:Salary
  7. 2004/05/01 * Checking balance
  8. Assets:Bank:Checking $1,000.00
  9. Equity:Opening Balances
  10. 2004/05/01 * Investment balance
  11. Assets:Brokerage 50 AAPL @ $30.00
  12. Equity:Opening Balances
  13. 2004/05/14 * Pay day
  14. Assets:Bank:Checking $500.00
  15. Income:Salary
  16. 2004/05/27 Book Store
  17. Expenses:Books $20.00
  18. Liabilities:MasterCard
  19. 2004/05/27 (100) Credit card company
  20. Liabilities:MasterCard $20.00
  21. Assets:Bank:Checking
  22. test -n reg
  23. 04-May-01 Investment balance <Total> $-1,500.00
  24. 50 AAPL $-1,500.00
  25. 50 AAPL
  26. 04-May-27 Book Store <Total> $-2.00 $-1,502.00
  27. 50 AAPL
  28. end test