Added baseline tests for --lot-tags and --lots-actual
This commit is contained in:
parent
189bbd1546
commit
add2ffd5f3
2 changed files with 39 additions and 0 deletions
12
test/baseline/opt-lot-tags.test
Normal file
12
test/baseline/opt-lot-tags.test
Normal 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
|
||||
27
test/baseline/opt-lots-actual.test
Normal file
27
test/baseline/opt-lots-actual.test
Normal 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
|
||||
Loading…
Add table
Reference in a new issue