This commit is contained in:
Thorn Avery 2024-06-29 13:35:41 +12:00
parent d9305136ff
commit 82be9f2cf5
3 changed files with 48 additions and 0 deletions

14
test/Main.hs Normal file
View 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