'Test a simple example.'

def testFromExample(self):

    encoded_bitstring = array.array('B', [5, 57, 119]).tostring()
    fo = io.BytesIO(encoded_bitstring)
    res = parquet.encoding.read_bitpacked_deprecated(fo, 3, 8, 3, True)
    self.assertEqual(list(range(8)), res)
