def METHOD_NAME(
    window_date_range_pd,
    gap,
):
    actual = pd.Series(
        _apply_gap_for_expanding_primitives(window_date_range_pd, gap).values,
    )
    expected = pd.Series(window_date_range_pd.to_series().shift(gap).values)
    pd.testing.assert_series_equal(actual, expected)