mirror of
https://github.com/barrucadu/dejafu.git
synced 2024-12-22 21:11:30 +03:00
1146ce9b38
The `randomly` constructor now corresponds exactly to the old `Randomly`. Also refactor tests a bit.
22 lines
598 B
Haskell
Executable File
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
|
|
]
|