initial
This commit is contained in:
parent
d9305136ff
commit
82be9f2cf5
3 changed files with 48 additions and 0 deletions
14
test/Main.hs
Normal file
14
test/Main.hs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
module Main where
|
||||
|
||||
import Universe.World
|
||||
|
||||
import Test.HUnit
|
||||
|
||||
tests = test
|
||||
[ "message correct" ~: "WORLD" ~=? world
|
||||
, "expected to pass" ~: assertBool "failed anyway" $ not ("WORLD" == "BLAH")
|
||||
, "sanity check" ~: 3 ~=? (2 + 1)
|
||||
]
|
||||
|
||||
main :: IO ()
|
||||
main = runTestTTAndExit tests
|
||||
Loading…
Add table
Add a link
Reference in a new issue