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

Function test_parse

18-with-match/lispy/py3.10/lis_test.py:17–19  ·  view source on GitHub ↗
(source: str, expected: Expression)

Source from the content-addressed store, hash-verified

15 ('(a)(b)', ['a']),
16])
17def test_parse(source: str, expected: Expression) -> None:
18 got = parse(source)
19 assert got == expected
20
21
22########################################################## tests for evaluate

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected