code: def test_predict_5_steps_with_int_offset_7_n_offsets_1():
      """
      Test predict method with int offset, offset=7 and n_offsets=1.
      """
      forecaster = ForecasterEquivalentDate(offset=7, n_offsets=1)
      forecaster.fit(y=y)
      predictions = forecaster.predict(steps=5)
  
      expected = pd.Series(
          data=np.array(
              [
                  0.41482621,
                  0.86630916,
                  0.25045537,
                  0.48303426,
                  0.98555979,
              ]
          ),
          index=pd.date_range(start="2000-02-20", periods=5, freq="D"),
          name="pred",
      )
  
      pd.testing.assert_series_equal(predictions, expected)
  
file_path: skforecast/skforecast/ForecasterBaseline/tests/test_predict.py
imports: import re
  import pytest
  import numpy
  import pandas
  from sklearn.exceptions import NotFittedError
  from skforecast.ForecasterBaseline import ForecasterEquivalentDate
  from .fixtures_ForecasterEquivalentDate import y
label_desc: Use image node_id 3 for calling a global function with example usage: test_predict_5_steps_with_int_offset_7_n_offsets_1() without return types