From 362fad5925ba4e828b80bd5a90aff825296e6ad0 Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Tue, 27 Mar 2012 20:16:17 +0100 Subject: Add more tests --- test/regress/C19E4E9B.test | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/regress/C19E4E9B.test (limited to 'test/regress/C19E4E9B.test') diff --git a/test/regress/C19E4E9B.test b/test/regress/C19E4E9B.test new file mode 100644 index 00000000..4837b4cd --- /dev/null +++ b/test/regress/C19E4E9B.test @@ -0,0 +1,18 @@ +2012-01-01=2012-01-02 * Buy AAA + A 1 AAA @ 1.00 EUR + B -1.00 EUR + +2012-02-01 * Buy AAA + A 1 AAA @ 2.00 EUR + B -2.00 EUR + +test reg --format "%S: %d %P %t %T\n" +$FILE: 2012/01/01 Buy AAA 1 AAA 1 AAA +$FILE: 2012/01/01 Buy AAA -1.00 EUR 1 AAA +-1.00 EUR +$FILE: 2012/02/01 Buy AAA 1 AAA 2 AAA +-1.00 EUR +$FILE: 2012/02/01 Buy AAA -2.00 EUR 2 AAA +-3.00 EUR +end test + -- cgit v1.2.3