code: def test_make_constant_iterator(self):
      @jit.rawkernel()
      def make_constant_iterator(x):
          i = jit.threadIdx.x
          it = jit.thrust.make_constant_iterator(i * i)
          x[i] = it[i]
  
      n = 128
      out = cupy.zeros((n,), numpy.int32)
      make_constant_iterator[1, n](out)
  
      expected = cupy.arange(n) ** 2
      testing.assert_array_equal(out, expected)
  
imports: import numpy
  import pytest
  import cupy
  from cupy import testing
  from cupy_backends.cuda.api import runtime
  from cupyx import jit
label_desc: Use image node_id 22 for calling the TestThrust obj's underlying member method code with example usage: obj.test_make_constant_iterator() without return types