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

Method test_lambda_single

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

Source from the content-addressed store, hash-verified

1349 """Lambda expressions (array comprehensions)."""
1350
1351 def test_lambda_single(self):
1352 x = Int("x")
1353 lam = Lambda(x, x * 2)
1354 assert isinstance(lam._ast, LambdaNode)
1355 assert lam._ast.name == "x"
1356
1357 def test_lambda_multi(self):
1358 x, y = Ints("x y")

Callers

nothing calls this directly

Calls 2

IntFunction · 0.90
LambdaFunction · 0.90

Tested by

no test coverage detected