From d541cceaf7d4e77c239849679e3ae7a449ae8c8b Mon Sep 17 00:00:00 2001 From: Mitchell Kember Date: Tue, 4 Oct 2016 21:34:09 -0700 Subject: Fix bug 1187: Allow balance assertions with multiple posts to same account --- test/regress/1187_3.test | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 test/regress/1187_3.test (limited to 'test/regress/1187_3.test') diff --git a/test/regress/1187_3.test b/test/regress/1187_3.test new file mode 100644 index 00000000..2c6d7452 --- /dev/null +++ b/test/regress/1187_3.test @@ -0,0 +1,36 @@ +2000/01/01 Multiple posts + A $5.00 + B $7.20 + C $-114.99 + D + +2000/01/02 Many assertions + A $2.00 + A $3.00 = $10.00 + B $0.80 = $8.00 + C $-0.01 = $-115.00 + B $1.00 + C $1 + C $4 = $-110 + D + +2000/01/03 Incremental + A $1.00 = $11.00 + A $1.00 = $12.00 + A $1.00 = $13.00 + D + +2000/01/04 Assignment + A $2 + A = $25 + D $-10 + D $-2 + +test bal + $25.00 A + $9.00 B + $-110.00 C + $76.00 D +-------------------- + 0 +end test -- cgit v1.2.3