summaryrefslogtreecommitdiff
path: root/test/baseline/opt-forecast-years.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2012-03-25 17:39:49 +0100
committerMartin Michlmayr <tbm@cyrius.com>2012-03-25 17:39:49 +0100
commit4d0daf77d7aef535bc206154344a1061b6064ec6 (patch)
tree558f003c46d112b01030e3ec2bd7a0e3760f6f67 /test/baseline/opt-forecast-years.test
parentf4e6d30736a41008da0193e58fbe89f15fdbb3b0 (diff)
downloadfork-ledger-4d0daf77d7aef535bc206154344a1061b6064ec6.tar.gz
fork-ledger-4d0daf77d7aef535bc206154344a1061b6064ec6.tar.bz2
fork-ledger-4d0daf77d7aef535bc206154344a1061b6064ec6.zip
Add more baseline tests
Diffstat (limited to 'test/baseline/opt-forecast-years.test')
-rw-r--r--test/baseline/opt-forecast-years.test202
1 files changed, 202 insertions, 0 deletions
diff --git a/test/baseline/opt-forecast-years.test b/test/baseline/opt-forecast-years.test
index e69de29b..6b1053f5 100644
--- a/test/baseline/opt-forecast-years.test
+++ b/test/baseline/opt-forecast-years.test
@@ -0,0 +1,202 @@
+~ Monthly
+ Expenses:Rent 500.00 GBP
+ Assets
+
+test --now 2012-01-01 --forecast "T<200000.00 GBP" reg :rent
+12-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 500.00 GBP
+12-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 1000.00 GBP
+12-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 1500.00 GBP
+12-May-01 Forecast transaction Expenses:Rent 500.00 GBP 2000.00 GBP
+12-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 2500.00 GBP
+12-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 3000.00 GBP
+12-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 3500.00 GBP
+12-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 4000.00 GBP
+12-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 4500.00 GBP
+12-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 5000.00 GBP
+12-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 5500.00 GBP
+13-Jan-01 Forecast transaction Expenses:Rent 500.00 GBP 6000.00 GBP
+13-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 6500.00 GBP
+13-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 7000.00 GBP
+13-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 7500.00 GBP
+13-May-01 Forecast transaction Expenses:Rent 500.00 GBP 8000.00 GBP
+13-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 8500.00 GBP
+13-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 9000.00 GBP
+13-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 9500.00 GBP
+13-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 10000.00 GBP
+13-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 10500.00 GBP
+13-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 11000.00 GBP
+13-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 11500.00 GBP
+14-Jan-01 Forecast transaction Expenses:Rent 500.00 GBP 12000.00 GBP
+14-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 12500.00 GBP
+14-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 13000.00 GBP
+14-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 13500.00 GBP
+14-May-01 Forecast transaction Expenses:Rent 500.00 GBP 14000.00 GBP
+14-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 14500.00 GBP
+14-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 15000.00 GBP
+14-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 15500.00 GBP
+14-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 16000.00 GBP
+14-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 16500.00 GBP
+14-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 17000.00 GBP
+14-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 17500.00 GBP
+15-Jan-01 Forecast transaction Expenses:Rent 500.00 GBP 18000.00 GBP
+15-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 18500.00 GBP
+15-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 19000.00 GBP
+15-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 19500.00 GBP
+15-May-01 Forecast transaction Expenses:Rent 500.00 GBP 20000.00 GBP
+15-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 20500.00 GBP
+15-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 21000.00 GBP
+15-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 21500.00 GBP
+15-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 22000.00 GBP
+15-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 22500.00 GBP
+15-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 23000.00 GBP
+15-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 23500.00 GBP
+16-Jan-01 Forecast transaction Expenses:Rent 500.00 GBP 24000.00 GBP
+16-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 24500.00 GBP
+16-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 25000.00 GBP
+16-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 25500.00 GBP
+16-May-01 Forecast transaction Expenses:Rent 500.00 GBP 26000.00 GBP
+16-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 26500.00 GBP
+16-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 27000.00 GBP
+16-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 27500.00 GBP
+16-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 28000.00 GBP
+16-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 28500.00 GBP
+16-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 29000.00 GBP
+16-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 29500.00 GBP
+end test
+
+test --now 2012-01-01 --forecast-years 1 --forecast "T<200000.00 GBP" reg :rent
+12-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 500.00 GBP
+12-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 1000.00 GBP
+12-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 1500.00 GBP
+12-May-01 Forecast transaction Expenses:Rent 500.00 GBP 2000.00 GBP
+12-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 2500.00 GBP
+12-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 3000.00 GBP
+12-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 3500.00 GBP
+12-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 4000.00 GBP
+12-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 4500.00 GBP
+12-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 5000.00 GBP
+12-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 5500.00 GBP
+end test
+
+test --now 2012-01-01 --forecast-years 10 --forecast "T<200000.00 GBP" reg :rent
+12-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 500.00 GBP
+12-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 1000.00 GBP
+12-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 1500.00 GBP
+12-May-01 Forecast transaction Expenses:Rent 500.00 GBP 2000.00 GBP
+12-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 2500.00 GBP
+12-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 3000.00 GBP
+12-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 3500.00 GBP
+12-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 4000.00 GBP
+12-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 4500.00 GBP
+12-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 5000.00 GBP
+12-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 5500.00 GBP
+13-Jan-01 Forecast transaction Expenses:Rent 500.00 GBP 6000.00 GBP
+13-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 6500.00 GBP
+13-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 7000.00 GBP
+13-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 7500.00 GBP
+13-May-01 Forecast transaction Expenses:Rent 500.00 GBP 8000.00 GBP
+13-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 8500.00 GBP
+13-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 9000.00 GBP
+13-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 9500.00 GBP
+13-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 10000.00 GBP
+13-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 10500.00 GBP
+13-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 11000.00 GBP
+13-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 11500.00 GBP
+14-Jan-01 Forecast transaction Expenses:Rent 500.00 GBP 12000.00 GBP
+14-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 12500.00 GBP
+14-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 13000.00 GBP
+14-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 13500.00 GBP
+14-May-01 Forecast transaction Expenses:Rent 500.00 GBP 14000.00 GBP
+14-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 14500.00 GBP
+14-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 15000.00 GBP
+14-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 15500.00 GBP
+14-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 16000.00 GBP
+14-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 16500.00 GBP
+14-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 17000.00 GBP
+14-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 17500.00 GBP
+15-Jan-01 Forecast transaction Expenses:Rent 500.00 GBP 18000.00 GBP
+15-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 18500.00 GBP
+15-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 19000.00 GBP
+15-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 19500.00 GBP
+15-May-01 Forecast transaction Expenses:Rent 500.00 GBP 20000.00 GBP
+15-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 20500.00 GBP
+15-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 21000.00 GBP
+15-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 21500.00 GBP
+15-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 22000.00 GBP
+15-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 22500.00 GBP
+15-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 23000.00 GBP
+15-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 23500.00 GBP
+16-Jan-01 Forecast transaction Expenses:Rent 500.00 GBP 24000.00 GBP
+16-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 24500.00 GBP
+16-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 25000.00 GBP
+16-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 25500.00 GBP
+16-May-01 Forecast transaction Expenses:Rent 500.00 GBP 26000.00 GBP
+16-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 26500.00 GBP
+16-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 27000.00 GBP
+16-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 27500.00 GBP
+16-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 28000.00 GBP
+16-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 28500.00 GBP
+16-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 29000.00 GBP
+16-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 29500.00 GBP
+17-Jan-01 Forecast transaction Expenses:Rent 500.00 GBP 30000.00 GBP
+17-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 30500.00 GBP
+17-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 31000.00 GBP
+17-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 31500.00 GBP
+17-May-01 Forecast transaction Expenses:Rent 500.00 GBP 32000.00 GBP
+17-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 32500.00 GBP
+17-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 33000.00 GBP
+17-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 33500.00 GBP
+17-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 34000.00 GBP
+17-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 34500.00 GBP
+17-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 35000.00 GBP
+17-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 35500.00 GBP
+18-Jan-01 Forecast transaction Expenses:Rent 500.00 GBP 36000.00 GBP
+18-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 36500.00 GBP
+18-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 37000.00 GBP
+18-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 37500.00 GBP
+18-May-01 Forecast transaction Expenses:Rent 500.00 GBP 38000.00 GBP
+18-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 38500.00 GBP
+18-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 39000.00 GBP
+18-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 39500.00 GBP
+18-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 40000.00 GBP
+18-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 40500.00 GBP
+18-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 41000.00 GBP
+18-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 41500.00 GBP
+19-Jan-01 Forecast transaction Expenses:Rent 500.00 GBP 42000.00 GBP
+19-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 42500.00 GBP
+19-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 43000.00 GBP
+19-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 43500.00 GBP
+19-May-01 Forecast transaction Expenses:Rent 500.00 GBP 44000.00 GBP
+19-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 44500.00 GBP
+19-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 45000.00 GBP
+19-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 45500.00 GBP
+19-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 46000.00 GBP
+19-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 46500.00 GBP
+19-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 47000.00 GBP
+19-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 47500.00 GBP
+20-Jan-01 Forecast transaction Expenses:Rent 500.00 GBP 48000.00 GBP
+20-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 48500.00 GBP
+20-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 49000.00 GBP
+20-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 49500.00 GBP
+20-May-01 Forecast transaction Expenses:Rent 500.00 GBP 50000.00 GBP
+20-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 50500.00 GBP
+20-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 51000.00 GBP
+20-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 51500.00 GBP
+20-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 52000.00 GBP
+20-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 52500.00 GBP
+20-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 53000.00 GBP
+20-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 53500.00 GBP
+21-Jan-01 Forecast transaction Expenses:Rent 500.00 GBP 54000.00 GBP
+21-Feb-01 Forecast transaction Expenses:Rent 500.00 GBP 54500.00 GBP
+21-Mar-01 Forecast transaction Expenses:Rent 500.00 GBP 55000.00 GBP
+21-Apr-01 Forecast transaction Expenses:Rent 500.00 GBP 55500.00 GBP
+21-May-01 Forecast transaction Expenses:Rent 500.00 GBP 56000.00 GBP
+21-Jun-01 Forecast transaction Expenses:Rent 500.00 GBP 56500.00 GBP
+21-Jul-01 Forecast transaction Expenses:Rent 500.00 GBP 57000.00 GBP
+21-Aug-01 Forecast transaction Expenses:Rent 500.00 GBP 57500.00 GBP
+21-Sep-01 Forecast transaction Expenses:Rent 500.00 GBP 58000.00 GBP
+21-Oct-01 Forecast transaction Expenses:Rent 500.00 GBP 58500.00 GBP
+21-Nov-01 Forecast transaction Expenses:Rent 500.00 GBP 59000.00 GBP
+21-Dec-01 Forecast transaction Expenses:Rent 500.00 GBP 59500.00 GBP
+end test
+