MiniJavaCompiler/Test/TestSuite.hs

11 lines
253 B
Haskell
Raw Normal View History

2024-05-01 19:07:04 +00:00
module Main where
import Test.HUnit
import Parser.Lexer
import TestLexer
otherTest = TestCase $ assertEqual "math" (4+3) 7
tests = TestList [TestLabel "TestLexer" TestLexer.tests, TestLabel "mathTest" otherTest]
main = do runTestTTAndExit Main.tests