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

Add fuzz tests with fully arbitrary fragments #423

Merged
merged 1 commit into from
Jan 2, 2022

Conversation

mgeisler
Copy link
Owner

@mgeisler mgeisler commented Jan 2, 2022

The new wrap_first_fit.rs and wrap_optimal_fit.rs fuzz tests generate completely random fragments with arbitrary widths. They then check that the fragments can be wrapped without overflow.

The tests currently fail in less than a second and triggers the overflows mentioned in #247 and #416.

The new `wrap_first_fit.rs` and `wrap_optimal_fit.rs` fuzz tests
generate completely random fragments with arbitrary widths. They then
check that the fragments can be wrapped without overflow.

The tests currently fail in less than a second and triggers the
overflows mentioned in #247 and #416.
@mgeisler mgeisler merged commit 89d4782 into master Jan 2, 2022
@mgeisler mgeisler deleted the fuzz-wrap-optimal-fit branch January 2, 2022 17:08
@github-actions github-actions bot mentioned this pull request Feb 27, 2022
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.

1 participant