def METHOD_NAME(self):
    test_data = cp.array([[1, 2], [3, 4]], dtype=cp.float32)
    test_data = cp.rot90(test_data)
    self.assertFalse(test_data.flags["C_CONTIGUOUS"])
    result = ToCupy(cp.uint8)(test_data)
    self.assertTrue(result.dtype == cp.uint8)
    self.assertTrue(isinstance(result, cp.ndarray))
    self.assertTrue(result.flags["C_CONTIGUOUS"])
    cp.testing.assert_allclose(result, test_data)