sdp-quickcheck-0.2: SDP QuickCheck support
Copyright(c) Andrey Mulik 2019
LicenseBSD-style
Maintainerwork.a.mulik@gmail.com
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.SDP.Ord

Description

Test.SDP.Ord provides basic test suite for Ord instances.

Synopsis

Ord test

type TestOrd l = l -> l -> l -> Bool Source #

TestOrd is service type synonym for more comfortable quickCheck using.

ordTest :: Ord l => l -> l -> l -> Bool Source #

ordTest is basic test suite for Ord instances.

Lexicographic test

lexicographicOrdTest :: (Linear l e, Ord l, Ord e) => l -> l -> Bool Source #

lexicographicOrdTest checks Linear structures for lexicographic order.