code: def testForwardFilterMultiDim(self):
      dlm = builder()
      dlm.add(seasonality(period=2, discount=1, w=1.0))
      dlm.initialize()
  
      self.kf11.forwardFilter(dlm.model, 1)
      self.assertAlmostEqual(dlm.model.state[0][0, 0], 0.33333333333)
      self.assertAlmostEqual(dlm.model.state[1][0, 0], -0.33333333333)
  
      self.kf11.forwardFilter(dlm.model, -1)
      self.assertAlmostEqual(dlm.model.state[0][0, 0], -0.5)
      self.assertAlmostEqual(dlm.model.state[1][0, 0], 0.5)
  
file_path: pydlm/tests/base/testKalmanFilter.py
imports: import numpy
  import unittest
  from pydlm.modeler.trends import trend
  from pydlm.modeler.seasonality import seasonality
  from pydlm.modeler.builder import builder
  from pydlm.base.kalmanFilter import kalmanFilter
label_desc: Use image node_id 3 for calling the testKalmanFilter obj's underlying member method code with example usage: obj.testForwardFilterMultiDim() without return types