11 lines
316 B
Haskell
11 lines
316 B
Haskell
module Main where
|
|
|
|
import Test.HUnit
|
|
import TestLexer
|
|
import TestByteCodeGenerator
|
|
|
|
otherTest = TestCase $ assertEqual "math" (4+3) 7
|
|
|
|
tests = TestList [TestLabel "TestLexer" TestLexer.tests, TestLabel "mathTest" otherTest, TestLabel "bytecodeTest" TestByteCodeGenerator.tests]
|
|
|
|
main = do runTestTTAndExit Main.tests |