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