'Test a simple example.'

def testFromExample(self):

    raw_data_in = [136, 198, 250]
    encoded_bitstring = array.array('B', raw_data_in).tostring()
    fo = io.BytesIO(encoded_bitstring)
    count = (3 << 1)
    res = parquet.encoding.read_bitpacked(fo, count, 3, True)
    self.assertEqual(list(range(8)), res)
