code: def test_scatter_minmax_cupy_arguments(self, dtype):
      shape = (2, 3)
      a = cupy.zeros(shape, dtype)
      slices = (cupy.array([1, 1]), slice(None))
      cupy.maximum.at(a, slices, cupy.array(1.0))
      testing.assert_array_equal(
          a, cupy.array([[0.0, 0.0, 0.0], [1.0, 1.0, 1.0]], dtype)
      )
  
      a = cupy.ones(shape, dtype)
      cupy.minimum.at(a, slices, cupy.array(0.0))
      testing.assert_array_equal(
          a, cupy.array([[1.0, 1.0, 1.0], [0.0, 0.0, 0.0]], dtype)
      )
  
file_path: cupy/tests/cupy_tests/core_tests/test_ndarray_scatter.py
imports: import pytest
  import numpy
  import cupy
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestScatterMinMax obj's underlying member method code with example usage: obj.test_scatter_minmax_cupy_arguments(dtype) without return types