def test_goalexpand():
    def growing_goal(*args):
        if len(args) < 10:
            return (growing_goal, 1) + tuple(args)
        else:
            return lambda s: (1,)

    g = (growing_goal, 2)
    assert goalexpand(g) > (growing_goal, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2)
dataset/ETHPy150Open logpy/logpy/logpy/tests/test_core.py/test_goalexpand/operator `==` -> `>`