code: def test_scatter(self, order):
      @jit.rawkernel()
      def scatter(values, map, result):
          jit.thrust.scatter(
              jit.thrust.device,
              values.begin(),
              values.end(),
              map.begin(),
              result.begin(),
          )
  
      values = cupy.array(
          [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], dtype=numpy.int32
      )
      map = cupy.array(
          [0, 5, 1, 6, 2, 7, 3, 8, 4, 9], dtype=numpy.int32
      )
      result = cupy.zeros((10,), dtype=numpy.int64)
      scatter[1, 1](values, map, result)
  
      testing.assert_array_equal(
          result,
          cupy.array([1, 3, 5, 7, 9, 2, 4, 6, 8, 10]),
      )
  
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 34 for calling the TestThrust obj's underlying member method code with example usage: obj.test_scatter(order) without return types