leancheck-0.3.0: Cholesterol-free property-based testing

Safe HaskellSafe
LanguageHaskell2010

Test.Check.IO

Description

QuickCheck-like interface to LeanCheck

Synopsis

Documentation

check :: Testable a => a -> IO () Source

Check a property printing results on stdout

checkFor :: Testable a => Int -> a -> IO () Source

Check a property for N tests printing results on stdout

checkResult :: Testable a => a -> IO Bool Source

Check a property printing results on stdout and returning True on success.

There is no option to silence this function: in that case, you should use holds.

checkResultFor :: Testable a => Int -> a -> IO Bool Source

Check a property for N tests printing results on stdout and returning True on success.

There is no option to silence this function: in that case, you should use holds.