From 1698592706d9fb3a5446947ad6cf3c9b5367c714 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 16 Feb 2010 04:41:02 +0000 Subject: [PATCH] add: test for #19 --- tests/add-default-amount-precision.test | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/add-default-amount-precision.test diff --git a/tests/add-default-amount-precision.test b/tests/add-default-amount-precision.test new file mode 100644 index 000000000..b5ae429d8 --- /dev/null +++ b/tests/add-default-amount-precision.test @@ -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\]/