chell-quickcheck-0.2.4: QuickCheck support for the Chell testing library

Safe HaskellNone

Test.Chell.QuickCheck

Synopsis

Documentation

property :: Testable prop => String -> prop -> TestSource

Convert a QuickCheck property to a Chell Test.

import Test.Chell
import Test.Chell.QuickCheck
import Test.QuickCheck hiding (property)

test_NullLength :: Test
test_NullLength = property "null-length"
    (xs -> not (null xs) ==> length xs > 0)