Skip to content

Document how generated test cases are validated #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
2 commits merged into from
Apr 5, 2024
Merged

Document how generated test cases are validated #75

2 commits merged into from
Apr 5, 2024

Conversation

ghost
Copy link

@ghost ghost commented Apr 5, 2024

While trying to understand the Internals of q-d I was puzzled by the False ==> False expression for a while and it's only by reading the definition of (==>) from QuickCheck that I realized this was a trick to discard a test case whose generation has been stuck. It seems to me clearer to make the discard explicit. Also simplified the related function's code as the first parameter was never used.

Checklist:

  • Check source-code formatting is consistent

Also simplify and clarify the related function's code
@ghost ghost requested a review from MaximilianAlgehed April 5, 2024 09:35
@ghost ghost merged commit 25bac1a into main Apr 5, 2024
@ghost ghost deleted the test-discard branch April 5, 2024 13:12
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants