Explain proof for tests that should fail #221
Answered
by
mwillsey
silversquirl
asked this question in
Q&A
-
If I have a test, defined with |
Beta Was this translation helpful? Give feedback.
Answered by
mwillsey
Dec 14, 2022
Replies: 1 comment 3 replies
-
It does generate and check the proof, it just doesn't print it because some proofs are very large. You can use the |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
silversquirl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It does generate and check the proof, it just doesn't print it because some proofs are very large. You can use the
@check
syntax intest_fn
to run some code after the runner is done. An example usage: https://github.com/egraphs-good/egg/blob/main/tests/math.rs#L213-L225