Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ord properties
You will need TypeApplications
to use these.
Documentation
ordSpec :: forall a. (Show a, Ord a, Typeable a, GenValid a) => Spec Source #
Standard test spec for properties of Ord instances for valid values
Example usage:
ordSpec @Int