lisp-interpreter/test/Main.hs
2025-03-23 10:40:50 -05:00

16 lines
326 B
Haskell

module Main (main) where
import Test.HUnit
import TestLexer
import TestParser
main :: IO ()
main = do
putStrLn "Testing Lexer"
lexTC <- runTestTT TestLexer.tests
putStrLn (showCounts lexTC)
putStrLn ""
putStrLn "Testing Parser"
parseTC <- runTestTT TestParser.tests
putStrLn (showCounts parseTC)
putStrLn ""