Skip to content

✅ Test SequenceSet#xor and fuzz test all set operations #464

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
merged 2 commits into from
Apr 29, 2025

Conversation

nevans
Copy link
Collaborator

@nevans nevans commented Apr 29, 2025

I almost accidentally committed a big bug for #xor. I'm not sure how #xor escaped testing before now, but yikes! I decided to take that opportunity to 1) add basic XOR test cases, and 2) add some randomized tests on all of the set operators based on set identities that should always hold true. These could be used later as a starting point for microbenchmarks and profiling of SequenceSet.

nevans added 2 commits April 29, 2025 10:36
I'm not sure how this escaped testing before, but yikes!
I almost accidentally committed a big bug for `#xor`.  Yikes!  I decided
to take that opportunity to simply add some randomized tests on all of
the set operators, based on set identities that should always hold true.

These can also be used for microbenchmarks and profiling of SequenceSet.
@nevans nevans merged commit d70f7fd into master Apr 29, 2025
37 checks passed
@nevans nevans deleted the sequence_set/set_op_fuzz_tests branch April 29, 2025 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant