code: def test_init_window_size_calculation():
      """
      Test window_size is calculated correctly.
      """
      forecaster = ForecasterEquivalentDate(
          offset=5, n_offsets=2, agg_func=np.mean, forecaster_id=None
      )
      assert forecaster.window_size == 5 * 2
  
file_path: skforecast/skforecast/ForecasterBaseline/tests/test_init.py
imports: import sys
  import re
  import pytest
  import numpy
  import skforecast
  from skforecast.ForecasterBaseline import ForecasterEquivalentDate
label_desc: Use image node_id 2 for calling a global function with example usage: test_init_window_size_calculation() without return types