@with_setup(prepare_env)
def test_defn_binds_the_variable_just_like_define():

    interpret("(defn foo (x) (> x 10))", env)

    assert_is_instance(env.lookup("foo"), Closure)
Like `define`, the `defn` form should bind a variable to the environment.
dataset/ETHPy150Open kvalle/diy-lisp/tests/test_8_final_touches.py/test_defn_binds_the_variable_just_like_define