'Test QtFont\'s transform with a float as point size.
We can\'t test the point size for equality as Qt seems to do some
rounding as appropriate.'

def test_transform_qtfont_float(self, qtfont_class):

    value = Font(qtfont_class().transform('10.5pt    "Foobar    Neue"'))
    assert (value.family() == 'Foobar    Neue')
    assert (value.weight() == QFont.Normal)
    assert (value.style() == QFont.StyleNormal)
    assert (value.pointSize() >= 10)
    assert (value.pointSize() <= 11)
