NorfairKing / validity

Validity and validity-based testing
https://www.youtube.com/watch?v=eIs9qNh17SM
MIT License
156 stars 31 forks source link

fix 'commutative' to allow operations with result type different from argument types #82

Closed temyurchenko closed 4 years ago

temyurchenko commented 4 years ago

also add tests for some commutative operations

81

NorfairKing commented 4 years ago

Hi! I think there are already tests in genvalidity-hspec that I never migrated to genvalidity-property, but I like that you added tests anyway!

NorfairKing commented 4 years ago

I appologise: there weren't actually those tests, you did exactly the right thing.

temyurchenko commented 4 years ago

👌