'Tests for floating point lut of 8bit gray image'

def test_f_lut(self):

    im = hopper('L')
    lut = [(0.5 * float(x)) for x in range(256)]
    out = im.point(lut, 'F')
    int_lut = [(x // 2) for x in range(256)]
    self.assert_image_equal(out.convert('L'), im.point(int_lut, 'L'))
