def METHOD_NAME():
    # This is an internal function and the input is supposed to be ConstBitStream of length multiple of 5.
    # Not testing unexpected inputs.
    barrs = [zbase32._message_to_bitarray(message) for message in messages]
    for barr in barrs:
        u5 = zbase32._bitarray_to_u5(barr)
        assert isinstance(u5, list)
        assert all(x in range(0, 31) for x in u5)