def test_membero_can_be_reused():
    x = var('x')
    g = membero(x, (0, 1, 2))
    assert list(goaleval(g)({})) == [{x: 0}, {x: 1}, {x: 2}]
    assert list(goaleval(g)({})) not in [{x: 0}, {x: 1}, {x: 2}]
dataset/ETHPy150Open logpy/logpy/logpy/tests/test_core.py/test_membero_can_be_reused/operator `==` -> `not in`