-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkResults.hs
37 lines (31 loc) · 928 Bytes
/
checkResults.hs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
-- This module automatically tests the four individual files and outputs the results/performance. To run, load this module in GHCI and call 'main' method
-- TODO:
-- - Replace GHCI module import system with Cabal project
-- - Output test times for quickcheck methods
-- -
-- -
module LabTest where
import Data.List
import Test.QuickCheck
import qualified Lab1Tim as Tim1
import qualified Lab2Tim as Tim2
main = do
putStrLn "\nLab1 output for Tim:"
putStrLn "\nEXERCISE 4:"
putStrLn "Tim:"
print Tim1.answer4
-- putStrLn "Mees:"
-- print Mees1.answer4
-- putStrLn "Sara:"
-- print Sara1.answer4
-- putStrLn "Sangam:"
-- print Sangam1.answer4
putStrLn "\nEXERCISE 5:"
putStrLn "Tim:"
print Tim1.answer5
-- putStrLn "Mees:"
-- print Mees1.answer5
-- putStrLn "Sara:"
-- print Sara1.answer5
-- putStrLn "Sangam:"
-- print Sangam1.answer5