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

Refactor with MapArbitrary #11

Merged
merged 2 commits into from
Apr 2, 2024
Merged

Refactor with MapArbitrary #11

merged 2 commits into from
Apr 2, 2024

Conversation

ohbarye
Copy link
Owner

@ohbarye ohbarye commented Apr 2, 2024

Change

This pull request adds abstract Arbitrary class to give all arbitraries abilities that can transform/filter generated values. They are named MapArbitrary and FilterArbitrary.

They're useful to define custom arbitrary by reusing existing ones. The refactoring of e0eb0ee is a good example.

@ohbarye ohbarye changed the title Refactor with map arbitrary Refactor with MapArbitrary Apr 2, 2024
@ohbarye ohbarye merged commit 0f0eac3 into main Apr 2, 2024
3 checks passed
@ohbarye ohbarye deleted the refactor-with-map-arbitrary branch April 7, 2024 07:42
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