Skip to content

Explain proof for tests that should fail #221

Answered by mwillsey
silversquirl asked this question in Q&A
Discussion options

You must be logged in to vote

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 in test_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

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@silversquirl
Comment options

@mwillsey
Comment options

@silversquirl
Comment options

Answer selected by silversquirl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants