summaryrefslogtreecommitdiff
path: root/test/regress/EA18D948.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2012-03-27 20:16:17 +0100
committerMartin Michlmayr <tbm@cyrius.com>2012-03-27 20:16:17 +0100
commit362fad5925ba4e828b80bd5a90aff825296e6ad0 (patch)
treecc74d03b3aa258b3d4d8a31c667f99e2d044aa84 /test/regress/EA18D948.test
parentf3e320c98a39140989d52524a96ad205139ce06a (diff)
downloadfork-ledger-362fad5925ba4e828b80bd5a90aff825296e6ad0.tar.gz
fork-ledger-362fad5925ba4e828b80bd5a90aff825296e6ad0.tar.bz2
fork-ledger-362fad5925ba4e828b80bd5a90aff825296e6ad0.zip
Add more tests
Diffstat (limited to 'test/regress/EA18D948.test')
-rw-r--r--test/regress/EA18D948.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/regress/EA18D948.test b/test/regress/EA18D948.test
new file mode 100644
index 00000000..a63d4c35
--- /dev/null
+++ b/test/regress/EA18D948.test
@@ -0,0 +1,14 @@
+2012-01-01 * 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 A -V -A
+12-Jan-01 Buy AAA A 1.00 EUR 1.00 EUR
+12-Feb-01 Commodities revalued <Revalued> 1.00 EUR 0
+12-Feb-01 Buy AAA A 2.00 EUR 2.00 EUR
+end test
+