summaryrefslogtreecommitdiff
path: root/test/regress/CEECC0B0.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2012-03-22 22:57:54 +0000
committerMartin Michlmayr <tbm@cyrius.com>2012-03-22 22:57:54 +0000
commit4e07084b0351f2ff75bbb960ff9b02b2f99e4b23 (patch)
tree1620834bc417009d3386159e27bab888fe92a8a6 /test/regress/CEECC0B0.test
parent2f7b7762c2846d52d4b68e6453b1e112833c5c5b (diff)
parent2bbcbbf78de55cacf3a764177626a3fb020ee1fd (diff)
downloadfork-ledger-4e07084b0351f2ff75bbb960ff9b02b2f99e4b23.tar.gz
fork-ledger-4e07084b0351f2ff75bbb960ff9b02b2f99e4b23.tar.bz2
fork-ledger-4e07084b0351f2ff75bbb960ff9b02b2f99e4b23.zip
Merge branch 'next' of github.com:jwiegley/ledger into next
Diffstat (limited to 'test/regress/CEECC0B0.test')
-rw-r--r--test/regress/CEECC0B0.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/regress/CEECC0B0.test b/test/regress/CEECC0B0.test
new file mode 100644
index 00000000..1465b8c3
--- /dev/null
+++ b/test/regress/CEECC0B0.test
@@ -0,0 +1,19 @@
+2012-01-01 * Opening Balances
+ Assets:Cash 100.00 EUR
+ Equity:Opening balances -100.00 EUR
+
+2012-01-02 * Buy AAA
+ Assets:Investments 1 AAA @ 10.00 EUR
+ Assets:Cash -10.00 EUR
+
+2012-01-03 * Sell AAA
+ Assets:Investments -1 AAA @ 10.00 EUR
+ Assets:Cash 10.00 EUR
+
+
+test equity
+2012/01/03 Opening Balances
+ Assets:Cash 100.00 EUR
+ Equity:Opening balances
+end test
+