Main > Reference Manual > Unit tests > TestForecast4
This test verifies how the forecast distribution works with discrete forecasts.
A forecast of 1 over a date range of 28 daily buckets will result in a 0 zero forecast for all days, except for the middle one.
A forecast of 2 over the same date range will give 2 buckets with a forecast of 1: a first one on the 7th day and a second one on the 21st day.
The test case has a couple more examples on the above.