def METHOD_NAME(self):
    """Test :func:`colour.models.rgb.ycocg.RGB_to_YCoCg` definition."""
    np.testing.assert_array_equal(
        RGB_to_YCoCg(np.array([0.75, 0.75, 0.0])),
        np.array([0.5625, 0.375, 0.1875]),
    )
    np.testing.assert_array_equal(
        RGB_to_YCoCg(np.array([0.25, 0.5, 0.75])),
        np.array([0.5, -0.25, 0.0]),
    )
    np.testing.assert_array_equal(
        RGB_to_YCoCg(np.array([0.0, 0.75, 0.75])),
        np.array([0.5625, -0.375, 0.1875]),
    )