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

Test with minimum and maximum seed values #102

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Conversation

shepmaster
Copy link
Owner

Visual inspection of the 64-bit implementation while working on the 128-bit implementation showed a non-wrapping addition. In debug mode, this would panic, but thankfully release mode would wrap as desired.

This enhances the property tests to ensure that seeds of all 0 bits and all 1 bits are explicitly tested.

Visual inspection of the 64-bit implementation while working on the
128-bit implementation showed a non-wrapping addition. In debug mode,
this would panic, but thankfully release mode would wrap as desired.

This enhances the property tests to ensure that seeds of all `0` bits
and all `1` bits are explicitly tested.
@shepmaster shepmaster added the bug label Nov 1, 2024
@shepmaster shepmaster merged commit bbfa771 into main Nov 1, 2024
11 checks passed
@shepmaster shepmaster deleted the non-wrapping-panic branch November 1, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant