Added baseline tests for --lot-tags and --lots-actual

This commit is contained in:
John Wiegley 2009-06-19 20:52:24 +01:00
parent 189bbd1546
commit add2ffd5f3
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,12 @@
bal --lot-tags tajer
<<<
D 1.00c
2006/03/14 Opening Balances
Assets:Tajer 1339829c (TAG)
Assets:Gruulmorg 248720c
Equity:Gold
>>>1
1339829.00c (TAG) Assets:Tajer
>>>2
=== 0

View file

@ -0,0 +1,27 @@
reg --format '%(justify(scrub(total_expr), 40, 40, true))\n' --lots
<<<
D 1.0000s
2006/03/14 Opening Balances
Assets:Tajer 1339829c @ 1.86590975416s
Assets:Gruulmorg 248720c {10.051463493s}
Equity:Gold -5000000s
>>>1
1339829c {1.8659s} [2006/03/14]
1339829c {1.8659s} [2006/03/14]
248720c {10.0515s}
1339829c {1.8659s} [2006/03/14]
248720c {10.0515s}
-1388.9h
>>>2
=== 0
reg --format '%(justify(scrub(total_expr), 40, 40, true))\n' --lots-actual
>>>1
1339829c
1339829c
248720c {10.0515s}
1339829c
248720c {10.0515s}
-1388.9h
>>>2
=== 0