summaryrefslogtreecommitdiff
path: root/test/regress/FDFBA165.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2012-03-22 18:27:04 +0000
committerMartin Michlmayr <tbm@cyrius.com>2012-03-22 18:27:04 +0000
commitc69701cf81766b05d494eff372e67cb7983d6bcd (patch)
treebafbd82c34594501ed84d02a34c779d9af7d1523 /test/regress/FDFBA165.test
parentd3401dd91d771bebda70cc20a545076f5aa8e4d0 (diff)
downloadfork-ledger-c69701cf81766b05d494eff372e67cb7983d6bcd.tar.gz
fork-ledger-c69701cf81766b05d494eff372e67cb7983d6bcd.tar.bz2
fork-ledger-c69701cf81766b05d494eff372e67cb7983d6bcd.zip
Add some regression tests
Diffstat (limited to 'test/regress/FDFBA165.test')
-rw-r--r--test/regress/FDFBA165.test23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/regress/FDFBA165.test b/test/regress/FDFBA165.test
new file mode 100644
index 00000000..55074bed
--- /dev/null
+++ b/test/regress/FDFBA165.test
@@ -0,0 +1,23 @@
+; Test for: automated transactions didn't show up in the balance report
+
+= Income:Clients:
+ (Liabilities:Taxes:VAT) ((1,00 / 1,19) * 0,19)
+
+2009/07/27 * Invoice
+ Assets:Bank:Checking €1.190,00
+ Income:Clients:ACME_Inc
+
+test --decimal-comma bal
+ €1.190,00 Assets:Bank:Checking
+ €-1.190,00 Income:Clients:ACME_Inc
+ €-190,00 Liabilities:Taxes:VAT
+--------------------
+ €-190,00
+end test
+
+test --decimal-comma reg
+09-Jul-27 Invoice Assets:Bank:Checking €1.190,00 €1.190,00
+ Incom:Clients:ACME_Inc €-1.190,00 0
+ (Liabilitie:Taxes:VAT) €-190,00 €-190,00
+end test
+