code: def test_roll_series_with_gap_negative_inputs(window_series_pd):
      error = "Window length must be greater than zero."
      with pytest.raises(ValueError, match=error):
          roll_series_with_gap(
              window_series_pd, window_length=-4, gap=4, min_periods=1
          )
  
      error = "Gap must be greater than or equal to zero."
      with pytest.raises(ValueError, match=error):
          roll_series_with_gap(
              window_series_pd, window_length=4, gap=-4, min_periods=1
          )
  
imports: from unittest.mock import patch
  import numpy
  import pandas
  import pytest
  from featuretools.primitives import RollingCount, RollingMax, RollingMean, RollingMin, RollingSTD, RollingTrend
  from featuretools.primitives.standard.transform.time_series.utils import _get_rolled_series_without_gap, apply_roll_with_offset_gap, roll_series_with_gap
  from featuretools.tests.primitive_tests.utils import get_number_from_offset
label_desc: Use image node_id 18 for calling a global function with example usage: test_roll_series_with_gap_negative_inputs(window_series_pd) without return types