def test(got, expected, fcmp):
    if fcmp(got, expected):
        prefix = ' OK '
    else:
        prefix = '  X '

    if DEBUG:
        print '%s got: %s expected: %s' % (prefix, repr(got), repr(expected))

    return CONVERT_RESULT_TEST[ prefix ]

# C(xx) = C(x)
dataset/ETHPy150Open androguard/androguard/elsim/tests/test_similarity.py/test/original