summaryrefslogtreecommitdiff
path: root/test/baseline
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline')
-rw-r--r--test/baseline/opt-collapse-if-zero.test15
-rw-r--r--test/baseline/opt-columns.test11
-rw-r--r--test/baseline/opt-commodity-as-account.test11
-rw-r--r--test/baseline/opt-commodity-as-payee.test11
-rw-r--r--test/baseline/opt-csv-format.test10
5 files changed, 58 insertions, 0 deletions
diff --git a/test/baseline/opt-collapse-if-zero.test b/test/baseline/opt-collapse-if-zero.test
new file mode 100644
index 00000000..fb4d33fd
--- /dev/null
+++ b/test/baseline/opt-collapse-if-zero.test
@@ -0,0 +1,15 @@
+reg --collapse-if-zero
+<<<
+2007/02/02 RD VMMXX
+ Assets:Investments:Vanguard:VMMXX $0.35
+ Income:Dividends:Vanguard:VMMXX $-0.35
+
+2007/02/02 RD VMMXX
+ Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
+ Income:Dividends:Vanguard:VMMXX $-0.35
+>>>1
+07-Feb-02 RD VMMXX As:In:Vanguard:VMMXX 0.350 VMMXX 0.350 VMMXX
+ In:Di:Vanguard:VMMXX $-0.35 $-0.35
+ 0.350 VMMXX
+>>>2
+=== 0
diff --git a/test/baseline/opt-columns.test b/test/baseline/opt-columns.test
new file mode 100644
index 00000000..4dc28d9b
--- /dev/null
+++ b/test/baseline/opt-columns.test
@@ -0,0 +1,11 @@
+reg --columns=100
+<<<
+2007/02/02 RD VMMXX
+ Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
+ Income:Dividends:Vanguard:VMMXX $-0.35
+>>>1
+07-Feb-02 RD VMMXX As:Investments:Vanguard:VMMXX 0.350 VMMXX 0.350 VMMXX
+ In:Dividends:Vanguard:VMMXX $-0.35 $-0.35
+ 0.350 VMMXX
+>>>2
+=== 0
diff --git a/test/baseline/opt-commodity-as-account.test b/test/baseline/opt-commodity-as-account.test
new file mode 100644
index 00000000..6dcf8ace
--- /dev/null
+++ b/test/baseline/opt-commodity-as-account.test
@@ -0,0 +1,11 @@
+reg --commodity-as-account
+<<<
+2007/02/02 RD VMMXX
+ Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
+ Income:Dividends:Vanguard:VMMXX $-0.35
+>>>1
+07-Feb-02 RD VMMXX VMMXX 0.350 VMMXX 0.350 VMMXX
+07-Feb-02 RD VMMXX $ $-0.35 $-0.35
+ 0.350 VMMXX
+>>>2
+=== 0
diff --git a/test/baseline/opt-commodity-as-payee.test b/test/baseline/opt-commodity-as-payee.test
new file mode 100644
index 00000000..9872a15c
--- /dev/null
+++ b/test/baseline/opt-commodity-as-payee.test
@@ -0,0 +1,11 @@
+reg --commodity-as-payee
+<<<
+2007/02/02 RD VMMXX
+ Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
+ Income:Dividends:Vanguard:VMMXX $-0.35
+>>>1
+07-Feb-02 VMMXX As:In:Vanguard:VMMXX 0.350 VMMXX 0.350 VMMXX
+07-Feb-02 $ In:Di:Vanguard:VMMXX $-0.35 $-0.35
+ 0.350 VMMXX
+>>>2
+=== 0
diff --git a/test/baseline/opt-csv-format.test b/test/baseline/opt-csv-format.test
new file mode 100644
index 00000000..7efefc0d
--- /dev/null
+++ b/test/baseline/opt-csv-format.test
@@ -0,0 +1,10 @@
+csv --csv-format='"%(date)"\n'
+<<<
+2007/02/02 RD VMMXX
+ Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
+ Income:Dividends:Vanguard:VMMXX $-0.35
+>>>1
+"07-Feb-02"
+"07-Feb-02"
+>>>2
+=== 0