code: def test_allresults():
      # 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}
  
file_path: sympy/sympy/strategies/tests/test_tree.py
imports: from sympy.strategies.tree import treeapply, greedy, allresults, brute
  from functools import partial, reduce
label_desc: Use image node_id 11 for calling a global function with example usage: test_allresults() without return types