dir-account.test 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. commodity $
  2. format $1,000.00
  3. account Assets:Cash
  4. check abs(amount) <= 20
  5. check commodity == '$'
  6. default
  7. account Expenses:Food
  8. alias food
  9. payee KFC
  10. 2012-02-27 KFC
  11. Expenses:Unknown $20.00
  12. Assets:Cash
  13. 2012-02-28 KFC
  14. food $20.00
  15. Assets:Cash
  16. 2012-02-29 KFC
  17. food $25.00
  18. Assets:Cash
  19. 2012-02-29 KFC
  20. food $25.00
  21. Assets:Cash
  22. test reg
  23. 12-Feb-27 KFC Expenses:Food $20.00 $20.00
  24. Assets:Cash $-20.00 0
  25. 12-Feb-28 KFC Expenses:Food $20.00 $20.00
  26. Assets:Cash $-20.00 0
  27. 12-Feb-29 KFC Expenses:Food $25.00 $25.00
  28. Assets:Cash $-25.00 0
  29. 12-Feb-29 KFC Expenses:Food $25.00 $25.00
  30. Assets:Cash $-25.00 0
  31. __ERROR__
  32. Warning: "$FILE", line 24: Transaction check failed: (abs(amount) <= {20})
  33. Warning: "$FILE", line 28: Transaction check failed: (abs(amount) <= {20})
  34. end test