'Test transform of all color types.'

@pytest.mark.parametrize('klass,    val', TESTS.valid)
def test_transform(self, klass, val):

    if (not val):
        expected = None
    elif (klass is configtypes.QtColor):
        expected = QColor(val)
    else:
        expected = val
    assert (klass().transform(val) == expected)
