Debug multiUpdate'
[rootstock.git] / quickcheck-tests.hs
blobd0227c7749f07e0e1bb3d993d7c48a3da2ce7547
1 module Main where
2 import Control.Applicative ((<$>))
3 import System.Exit (exitFailure, exitSuccess)
4 import Test.IndexedMatrix (allIndexedMatrixTests)
5 import Test.Monotonic (allMonotonicTests)
6 import Test.ValueSimplex (allValueSimplexTests)
8 main :: IO ()
9 main = do
10 success <- and <$> sequence
11 [ allIndexedMatrixTests
12 , allMonotonicTests
13 , allValueSimplexTests
15 if success
16 then do
17 putStrLn "All tests passed!"
18 exitSuccess
19 else do
20 putStrLn "At least one test failed."
21 exitFailure