Select(Lambda(x, 42), anything) = 42
(self, kernel)
| 1325 | assert _try_prove(Select(f, IntVal(5)) == IntVal(6)) |
| 1326 | |
| 1327 | def test_lambda_constant(self, kernel): |
| 1328 | """Select(Lambda(x, 42), anything) = 42""" |
| 1329 | x = Int("x") |
| 1330 | f = Lambda([x], IntVal(42)) |
| 1331 | assert _try_prove(Select(f, IntVal(999)) == IntVal(42)) |
| 1332 | |
| 1333 | def test_lambda_square(self, kernel): |
| 1334 | """Select(Lambda(x, x*x), 7) = 49""" |
nothing calls this directly
no test coverage detected