sdp-quickcheck-0.2: SDP QuickCheck support
Copyright(c) Andrey Mulik 2019
LicenseBSD-style
Maintainerwork.a.mulik@gmail.com
Portabilitynon-portable (requires non-portable modules).
Safe HaskellNone
LanguageHaskell2010

Test.SDP.Sort

Description

Test.SDP.Sort provides simple test for Sort class.

Synopsis

Exports

Default test

sortTest :: (Sort s e, Split s e, Bordered s i, Ord e) => Medium s -> Bool Source #

sortTest is just sorted . sort synonym. Please note that for default definition of Arbitrary generates very short structures and this isn't enough for verification (if the length of the structure is less than 65, then TimSort uses InsertionSort).