summaryrefslogtreecommitdiff
path: root/test/baseline/feat-balance_assert_split.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline/feat-balance_assert_split.test')
-rw-r--r--test/baseline/feat-balance_assert_split.test60
1 files changed, 60 insertions, 0 deletions
diff --git a/test/baseline/feat-balance_assert_split.test b/test/baseline/feat-balance_assert_split.test
new file mode 100644
index 00000000..2d9cce9f
--- /dev/null
+++ b/test/baseline/feat-balance_assert_split.test
@@ -0,0 +1,60 @@
+;; a.dat
+
+2012-01-01 Test
+ Expenses:Unknown $100.00
+ Liabilities:MasterCard
+
+2012-01-02 Test
+ Expenses:Unknown $100.00
+ Liabilities:MasterCard
+
+2012-01-03 Test
+ Expenses:Unknown $100.00
+ Liabilities:MasterCard
+
+2012-01-04 Test
+ ; UUID: foo
+ Liabilities:MasterCard $150.00 = $-300
+ <Assets:Checking>
+
+2012-01-04 Test
+ ; UUID: bar
+ Liabilities:MasterCard $150.00 = $0
+ <Assets:Checking>
+
+2012-01-04 Test
+ ; UUID: baz
+ Liabilities:MasterCard $150.00 = $0
+ <Assets:Checking>
+
+;; b.dat
+
+2012-01-01 Test
+ Assets:Checking $150.00
+ Income
+
+2012-01-02 Test
+ Assets:Checking $150.00
+ Income
+
+2012-01-03 Test
+ Assets:Checking $150.00
+ Income
+
+2012-01-04 Test
+ ; UUID: foo
+ Liabilities:MasterCard $150.00
+ Assets:Checking $-150.00 = $300.00
+
+2012-01-04 Test
+ ; UUID: bar
+ Liabilities:MasterCard $150.00
+ Assets:Checking $-150.00 = $150.00
+
+test balance
+ $300.00 Expenses:Unknown
+ $-450.00 Income
+ $150.00 Liabilities:MasterCard
+--------------------
+ 0
+end test