'Test an interpolation in the HSV colorspace.'

def test_interpolation_hsv(self):

    start = Color()
    stop = Color()
    start.setHsv(0, 40, 100)
    stop.setHsv(0, 20, 200)
    color = utils.interpolate_color(start, stop, 50, QColor.Hsv)
    expected = Color()
    expected.setHsv(0, 30, 150)
    assert (Color(color) == expected)
