def METHOD_NAME(self, params, input, expected):
    input = cp.asarray(input)[cp.newaxis, ...]
    expected = cp.asarray(expected)[cp.newaxis, ...]
    output = RandCuCIM(**params)(input)
    self.assertTrue(output.dtype == expected.dtype)
    self.assertTrue(isinstance(output, cp.ndarray))
    cp.testing.assert_allclose(output, expected)