summaryrefslogtreecommitdiff
path: root/src/test.hs
blob: 1e75fb6d49eb8dfd20d967774164cab137c7159c (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
30
31
32
33

import Test.HUnit
import qualified Fractran.Test
import qualified Thue.Test
import qualified Unlambda.Test
import qualified Grasp.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

    putStrLn "\nGrasp Parser"
    runTestTT Grasp.Test.parserTests