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.
Change
This pull request adds abstract
Arbitrary
class to give all arbitraries abilities that can transform/filter generated values. They are namedMapArbitrary
andFilterArbitrary
.They're useful to define custom arbitrary by reusing existing ones. The refactoring of e0eb0ee is a good example.