code: def test(self):
      # Elementwise
      a = cupy.full((1, self.size), 7, dtype=cupy.int8)
      # Reduction
      result = a.sum(axis=0, dtype=cupy.int8)
      # Explicitly specify the dtype to absorb Linux/Windows difference.
      assert result.sum(dtype=cupy.int64) == self.size * 7
  
file_path: cupy/tests/cupy_tests/core_tests/test_carray.py
imports: import unittest
  import cupy
  from cupy import testing
label_desc: Use image node_id 2 for calling the TestCArray32BitBoundary obj's underlying member method code with example usage: obj.test() without return types