summaryrefslogtreecommitdiff
path: root/test/regress/C19E4E9B.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/C19E4E9B.test')
-rw-r--r--test/regress/C19E4E9B.test18
1 files changed, 18 insertions, 0 deletions
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
+