code: def check_unary_negative(self, name, xp, dtype):
      a = xp.array([-3, -2, -1, 1, 2, 3], dtype=dtype)
      return getattr(xp, name)(a)
  
imports: import unittest
  import warnings
  import numpy
  import pytest
  import cupy
  from cupy import testing
label_desc: Use image node_id 4 for calling the TestRounding obj's underlying member method code with example usage: obj.check_unary_negative(name, xp, dtype) and returns: getattr