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

Function test_goal_try_draft_with_sorry

tests/test_kernel_extra.py:165–168  ·  view source on GitHub ↗
(kernel)

Source from the content-addressed store, hash-verified

163
164
165def test_goal_try_draft_with_sorry(kernel):
166 state = kernel.goal_create("Nat")
167 res = state.try_draft("(sorry : Nat)")
168 assert res.status in {"success", "invalidAction", "failure", "parseError"}

Callers

nothing calls this directly

Calls 2

goal_createMethod · 0.80
try_draftMethod · 0.80

Tested by

no test coverage detected