blob: 0f467564b37aa2144f16bc1d19e33949bfd55225 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import Test.Framework (defaultMain, testGroup)
import Test.Framework.Providers.QuickCheck2 (testProperty)
import Test.QuickCheck
main :: IO ()
main = defaultMain tests
tests = [
testGroup "Sorting Group 1" [
testProperty "prop1" prop1,
testProperty "prop2" prop2
]
]
prop1 b = b == False
where types = (b :: Bool)
prop2 i = i == 42
where types = (i :: Int)
|