def forecasting_test(self):
        data  = [[0, 10.0], [1, 18.0], [2, 29.0], [3, 15.0], [4, 30.0], [5, 30.0], [6, 12.0], [7, 16.0]]
        tsSrc = TimeSeries.from_twodim_list(data)
        tsSrc.normalize("second")

        es = ExponentialSmoothing(0.1, 7)
        res = tsSrc.apply(es)

        # test if the correct number of values have been forecasted
        assert len(tsSrc)  + 6 == len(res)
Test forecast part of ExponentialSmoothing.
dataset/ETHPy150Open T-002/pycast/pycast/tests/methodtest.py/ExponentialSmoothingTest.forecasting_test