real tests!
This commit is contained in:
19
tst/Main.hs
19
tst/Main.hs
@@ -1,18 +1 @@
|
||||
module Main (main) where
|
||||
----------------------------------------------------------------------------------
|
||||
import Control.Monad
|
||||
import System.Exit
|
||||
import Test.QuickCheck
|
||||
import Arith
|
||||
----------------------------------------------------------------------------------
|
||||
|
||||
runTests :: IO Bool
|
||||
runTests = runTestsArith
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
good <- runTests
|
||||
if good
|
||||
then exitSuccess
|
||||
else exitFailure
|
||||
|
||||
{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
|
||||
|
||||
Reference in New Issue
Block a user