Initial commit
This commit is contained in:
commit
99e66241df
5 changed files with 115 additions and 0 deletions
11
test/VoorbeeldTest.hs
Normal file
11
test/VoorbeeldTest.hs
Normal file
|
@ -0,0 +1,11 @@
|
|||
import Test.Hspec
|
||||
|
||||
import VoorbeeldModule (hoi, hallo)
|
||||
|
||||
main :: IO ()
|
||||
main = hspec $ do
|
||||
it "Returns correct string for hoi" $ do
|
||||
hoi `shouldBe` "Hoi"
|
||||
|
||||
it "Returns correct string for hallo" $ do
|
||||
hallo `shouldBe` "Hallo"
|
Reference in a new issue