code: def test_interval_range_periods_freq_start_dtype(
      periods_t, freq_t, start_t
  ):
      periods, freq, start = periods_t(2), freq_t(3), start_t(9)
      freq_val = freq.value if isinstance(freq, cudf.Scalar) else freq
      start_val = (
          start.value if isinstance(start, cudf.Scalar) else start
      )
      periods_val = (
          periods.value if isinstance(periods, cudf.Scalar) else periods
      )
      pindex = pd.interval_range(
          start=start_val,
          freq=freq_val,
          periods=periods_val,
          closed="left",
      )
      gindex = cudf.interval_range(
          start=start, freq=freq, 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 13 for calling a global function with example usage: test_interval_range_periods_freq_start_dtype(periods_t, freq_t, start_t) without return types