Skip to content
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

Fix the QuickCheck shrink for WordN 1 and IntN 1 types #149

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

lsrcz
Copy link
Owner

@lsrcz lsrcz commented Oct 26, 2023

This pull request fixes the QuickCheck shrink for WordN 1 and IntN 1 types.

The shrinkIntegral function provided by QuickCheck assumes that 2 /= 0, which isn't true for WordN 1 and IntN 1.

@lsrcz lsrcz added the bug Something isn't working label Oct 26, 2023
@lsrcz lsrcz self-assigned this Oct 26, 2023
@lsrcz lsrcz merged commit f178b3e into main Oct 26, 2023
2 checks passed
@lsrcz lsrcz deleted the fix-1-bit-bv-shrink branch February 17, 2024 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant