def METHOD_NAME(self, params, input, expected):
    input = {"image": np.copy(input)}
    output = RandCuCIMd(keys="image", **params)(input)["image"]
    self.assertTrue(output.dtype == expected.dtype)
    self.assertTrue(isinstance(output, np.ndarray))
    cp.testing.assert_allclose(output, expected)