summaryrefslogtreecommitdiff
path: root/test.hs
blob: 5fc3533439a4ba2ebf43bf802f6c8a25c96fe645 (plain)
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

import Test.HUnit
import qualified Fractran.Test
import qualified Thue.Test
import qualified Unlambda.Test




main = do
    putStrLn "Fractran Parser"
    runTestTT Fractran.Test.parserTests

    putStrLn "\nFractran Interpreter"
    runTestTT Fractran.Test.interpreterTests

    putStrLn "\nThue Parser"
    runTestTT Thue.Test.parserTests

    putStrLn "\nextractInfix"
    runTestTT Thue.Test.extractInfixTests

    putStrLn "\nUnlambda Parser"
    runTestTT Unlambda.Test.parserTests

    putStrLn "\nUnlambda Interpreter"
    tests <- Unlambda.Test.interpreterTests
    runTestTT tests