2016-03-31 16:45:55 +03:00
|
|
|
module Cases where
|
|
|
|
|
|
|
|
import Test.Framework (Test, testGroup)
|
|
|
|
|
|
|
|
import qualified Cases.SingleThreaded as S
|
|
|
|
import qualified Cases.MultiThreaded as M
|
2017-06-07 16:03:00 +03:00
|
|
|
import qualified Cases.Refinement as R
|
2016-03-31 16:45:55 +03:00
|
|
|
import qualified Cases.Litmus as L
|
2017-03-04 01:06:09 +03:00
|
|
|
import qualified Cases.Async as A
|
2016-03-31 16:45:55 +03:00
|
|
|
|
|
|
|
-- | Run all the test cases.
|
|
|
|
testCases :: [Test]
|
|
|
|
testCases = map (uncurry testGroup)
|
|
|
|
[ ("Single Threaded", S.tests)
|
|
|
|
, ("Multi Threaded", M.tests)
|
2017-06-07 16:03:00 +03:00
|
|
|
, ("Refinement", R.tests)
|
2016-03-31 16:45:55 +03:00
|
|
|
, ("Litmus", L.tests)
|
2017-03-04 01:06:09 +03:00
|
|
|
, ("Async", A.tests)
|
2016-03-31 16:45:55 +03:00
|
|
|
]
|