code: def test_interval_range_periods_basic_dtype(
      start_t, end_t, periods_t
  ):
      start, end, periods = start_t(0), end_t(4), periods_t(1.0)
      start_val = (
          start.value if isinstance(start, cudf.Scalar) else start
      )
      end_val = end.value if isinstance(end, cudf.Scalar) else end
      periods_val = (
          periods.value if isinstance(periods, cudf.Scalar) else periods
      )
      pindex = pd.interval_range(
          start=start_val,
          end=end_val,
          periods=periods_val,
          closed="left",
      )
      gindex = cudf.interval_range(
          start=start, end=end, periods=periods, closed="left"
      )
  
      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 9 for calling a global function with example usage: test_interval_range_periods_basic_dtype(start_t, end_t, periods_t) without return types