MCPcopy
hub / github.com/fluentpython/example-code-2e / test_evaluate_quote

Function test_evaluate_quote

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

Source from the content-addressed store, hash-verified

91
92
93def test_evaluate_quote(std_env: Environment) -> None:
94 source = '(quote (1.1 is not 1))'
95 expected = [1.1, 'is', 'not', 1]
96 got = evaluate(parse(source), std_env)
97 assert got == expected
98
99
100def test_evaluate_if_true(std_env: Environment) -> None:

Callers

nothing calls this directly

Calls 2

evaluateFunction · 0.90
parseFunction · 0.90

Tested by

no test coverage detected