-
Notifications
You must be signed in to change notification settings - Fork 24
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
gaps return empty ranges #43
Comments
In the form of a mini test:
|
Thanks for the report, @gzp-crey. I will get on to this, but a bit pressed for time right now and working on sprucing up the test suite first to make sure that this sort of thing can't sneak in in future. (Watch this space.) |
jeffparsons
added a commit
that referenced
this issue
May 17, 2022
They were sometimes returning empty ranges still, and the implementation was unnecessarily complex. There may well have been other bugs hiding in there. Fixes #43. This also adds fuzzing of the gaps iterators to get a bit more confidence that they're actually right now, including fuzzing the size of the outer range.
@gzp-crey This is fixed in v1.0.2. (Just pushed to crates.io.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gaps returns empty ranges for this simple case:
output:
The text was updated successfully, but these errors were encountered: