def METHOD_NAME(load_image, image_shape, rgb_channel):
    test_image = load_image(image_shape, rgb_channel)
    casted_image = opencv_image.cast_image(test_image, dtype=np.float32)
    assert casted_image.dtype == np.float32