numhask-hedgehog-0.3: 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 #

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

quotient field laws

logFieldProps :: forall a. (CanMeasure a, BoundedLattice a, Divisive a) => Gen a -> [(PropertyName, Property)] Source #

field laws

latticeProps :: forall a. CanMeasure a => Gen a -> [(PropertyName, Property)] Source #

lattice laws

fieldSpaceProps :: forall s. (Show s, FieldSpace s, Epsilon (Element s)) => Gen s -> [(PropertyName, Property)] Source #

space laws

spaceAlgebraProps :: forall s. (Eq s, Show s, Space s, Subtractive s, Divisive s, CanMeasure (Element s)) => Gen s -> [(PropertyName, Property)] Source #

Interval algebra is not distributive