def test_allresults():
    inc = lambda x: x+1
    dec = lambda x: 1-x
    double = lambda x: x*2
    square = lambda x: x**2

    assert set(allresults(inc)(3)) == {inc(3)}
    assert set(allresults([inc, dec])(3)) == {2, 4}
    assert set(allresults((inc, dec))(3)) == {3}
    assert set(allresults([inc, (dec, double)])(4)) == {5, 6}
dataset/ETHPy150Open sympy/sympy/sympy/strategies/tests/test_tree.py/test_allresults/swapped operands of `-`