MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / test_lambda_multi

Method test_lambda_multi

tests/test_z3_ported.py:1357–1361  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1355 assert lam._ast.name == "x"
1356
1357 def test_lambda_multi(self):
1358 x, y = Ints("x y")
1359 lam = Lambda([x, y], x + y)
1360 assert isinstance(lam._ast, LambdaNode)
1361 assert isinstance(lam._ast.body, LambdaNode)
1362
1363 def test_lambda_free_vars(self):
1364 """Lambda binds its variable."""

Callers

nothing calls this directly

Calls 2

IntsFunction · 0.90
LambdaFunction · 0.90

Tested by

no test coverage detected