numhask-hedgehog-0.4.0: Laws and tests for numhask

Safe HaskellNone
LanguageHaskell2010

NumHask.Hedgehog.Props

Contents

Synopsis

properties/law groupings

boolProps :: forall a. (Show a, Ord a, Distributive a) => Gen a -> [(PropertyName, Property)] Source #

fieldProps :: forall a. (CanMeasure a, LowerBoundedField a, UpperBoundedField a, Signed a, Normed a a, Metric a a) => Gen a -> [(PropertyName, Property)] Source #

field laws

quotientFieldProps :: forall a. (CanMeasure a, FromInteger a, QuotientField a Integer) => Gen a -> [(PropertyName, Property)] Source #

quotient field laws