def test_enum():
    for i in range(len(enum_names)):
        assert parse("enum %s" % (enum_names[i],)) == ['->', Enum(i)]
        assert parse("enum %s*" % (enum_names[i],)) == [Enum(i),
                                                        '->', Pointer(0)]
dataset/ETHPy150Open johncsnyder/SwiftKitten/cffi/testing/cffi1/test_parse_c_type.py/test_enum/original