summaryrefslogtreecommitdiff
path: root/test/regress/370-forecast_period_weeks.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/370-forecast_period_weeks.test')
-rw-r--r--test/regress/370-forecast_period_weeks.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/regress/370-forecast_period_weeks.test b/test/regress/370-forecast_period_weeks.test
new file mode 100644
index 00000000..3927a48d
--- /dev/null
+++ b/test/regress/370-forecast_period_weeks.test
@@ -0,0 +1,16 @@
+;Tuesday
+~ every 2 weeks from 2010/02/23
+ Expenses:Bills:Housecleaning $85.00
+ Assets:Bank:Checking
+
+;before Sun aug 01 2010
+;now is Mon jun 21 2010
+;a Sunday
+test reg --forecast 'date <[2010/08/01]' --now=2010/06/21
+10-Jun-27 Forecast transaction Ex:Bills:Housecleaning $85.00 $85.00
+10-Jun-27 Forecast transaction Assets:Bank:Checking $-85.00 0
+10-Jul-11 Forecast transaction Ex:Bills:Housecleaning $85.00 $85.00
+10-Jul-11 Forecast transaction Assets:Bank:Checking $-85.00 0
+10-Jul-25 Forecast transaction Ex:Bills:Housecleaning $85.00 $85.00
+10-Jul-25 Forecast transaction Assets:Bank:Checking $-85.00 0
+end test