1
1
mirror of https://github.com/barrucadu/dejafu.git synced 2024-12-22 21:11:30 +03:00
dejafu/dejafu-tests/Examples.hs
Michael Walker 1146ce9b38 Add a smart constructor for constructing swarmy executions
The `randomly` constructor now corresponds exactly to the old
`Randomly`.

Also refactor tests a bit.
2017-06-07 16:50:56 +01:00

22 lines
598 B
Haskell
Executable File

module Examples where
import Test.Framework (Test, testGroup)
import qualified Examples.AutoUpdate as A
import qualified Examples.ClassLaws as C
import qualified Examples.Logger as L
import qualified Examples.Philosophers as P
import qualified Examples.SearchParty as S
import Utils (tg)
-- | Run all the example tests.
testExamples :: [Test]
testExamples =
[ tg "auto-update" A.tests
, testGroup "Class Laws" C.tests
, testGroup "Dining Philosophers" P.tests
, tg "Message Logger" L.tests
, testGroup "Search Party" S.tests
]