add: test for #19
This commit is contained in:
parent
798a83c5ac
commit
1698592706
11
tests/add-default-amount-precision.test
Normal file
11
tests/add-default-amount-precision.test
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# add's default amounts should not fail to balance due to precision
|
||||||
|
-f nosuch.ledger add
|
||||||
|
<<<
|
||||||
|
2010/1/1
|
||||||
|
x
|
||||||
|
a
|
||||||
|
0.25
|
||||||
|
b
|
||||||
|
0.5
|
||||||
|
c
|
||||||
|
>>>2 /amount 3 \[-0.75\]/
|
||||||
Loading…
Reference in New Issue
Block a user