code: def test_interval_range_periods_basic(start, end, periods, closed):
      pindex = pd.interval_range(
          start=start, end=end, periods=periods, closed=closed
      )
      gindex = cudf.interval_range(
          start=start, end=end, periods=periods, closed=closed
      )
  
      assert_eq(pindex, gindex)
  
imports: import numpy
  import pandas
  import pyarrow
  import pytest
  import cudf
  from cudf.core._compat import PANDAS_GE_210
  from cudf.core.index import IntervalIndex, interval_range
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 8 for calling a global function with example usage: test_interval_range_periods_basic(start, end, periods, closed) without return types