Functor package:genvalidity-sydtest

Functor properties You will need TypeApplications to use these.
Standard test spec for properties of Functor instances for values generated with GenUnchecked instances Example usage:
functorSpecOnArbitrary @[]
Standard test spec for properties of Functor instances for values generated with Arbitrary instances Example usage:
functorSpecOnArbitrary @[]
Standard test spec for properties of Functor instances for values generated by given generators (and names for those generator). Example usage:
functorSpecOnGens
@[]
@Int
(pure 4) "four"
(genListOf $ pure 5) "list of fives"
((+) <$> genValid) "additions"
((*) <$> genValid) "multiplications"
Standard test spec for properties of Functor instances for values generated with GenValid instances Example usage:
functorSpecOnArbitrary @[]