def test_ints(self):
    for i in range(512):
        for name in 'ABCDEFGHI':
            b = BITS()
            setattr(b, name, i)
            assert ((name, i, getattr(b, name)) == (name, i, func(byref(b), name)))
def test_ints(self):
    for i in range(512):
        for name in 'ABCDEFGHI':
            b = BITS()
            setattr(b, name, i)
            assert ((name, i, getattr(b, name)) == (name, i, func(byref(b), name)))