summaryrefslogtreecommitdiff
path: root/test/regress/1050.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/1050.test')
-rw-r--r--test/regress/1050.test39
1 files changed, 39 insertions, 0 deletions
diff --git a/test/regress/1050.test b/test/regress/1050.test
new file mode 100644
index 00000000..a214e053
--- /dev/null
+++ b/test/regress/1050.test
@@ -0,0 +1,39 @@
+
+D $1000.00
+D £1000.00
+D €1000.00
+D 1000.00 EUR
+
+2014-06-05 * Test
+ A 2 EUR @$1.37
+ C
+
+2014-06-05 * Test
+ A 2 EUR @@£1.62
+ C
+
+2014-06-05 * Test
+ A 2 EUR (@)€1.00
+ C
+
+2014-06-05 * Test
+ A 2 EUR (@@)€2.00
+ C
+
+test bal
+ 8.00 EUR A
+ $-2.74
+ £-1.62
+ €-4.00 C
+--------------------
+ $-2.74
+ 8.00 EUR
+ £-1.62
+ €-4.00
+end test
+
+test pricedb
+P 2014/06/05 00:00:00 EUR $1.37
+P 2014/06/05 00:00:00 EUR £0.81
+end test
+