MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / test_begin

Function test_begin

18-with-match/lispy/py3.10/lis_test.py:131–139  ·  view source on GitHub ↗
(std_env: Environment)

Source from the content-addressed store, hash-verified

129
130
131def test_begin(std_env: Environment) -> None:
132 source = """
133 (begin
134 (define x (* 2 3))
135 (* x 7)
136 )
137 """
138 got = evaluate(parse(source), std_env)
139 assert got == 42
140
141
142def test_invocation_builtin_car(std_env: Environment) -> None:

Callers

nothing calls this directly

Calls 2

evaluateFunction · 0.90
parseFunction · 0.90

Tested by

no test coverage detected