2022-04-26 12:17:59 -04:00
|
|
|
module Tests
|
|
|
|
|
2022-05-01 18:19:09 -04:00
|
|
|
import TAP
|
2023-03-25 15:55:28 -04:00
|
|
|
import Tests.DimEq
|
2023-09-16 07:34:11 -04:00
|
|
|
import Tests.FreeVars
|
2022-05-25 10:10:19 -04:00
|
|
|
import Tests.Reduce
|
2022-04-27 14:06:39 -04:00
|
|
|
import Tests.Equal
|
2023-02-11 12:15:50 -05:00
|
|
|
import Tests.Typechecker
|
2023-03-16 13:19:17 -04:00
|
|
|
import Tests.PrettyTerm
|
2023-02-28 14:51:54 -05:00
|
|
|
import Tests.Lexer
|
2023-03-04 15:02:51 -05:00
|
|
|
import Tests.Parser
|
2023-03-10 15:52:29 -05:00
|
|
|
import Tests.FromPTerm
|
2022-05-01 18:19:09 -04:00
|
|
|
import System
|
2022-04-27 14:06:39 -04:00
|
|
|
|
2022-04-26 12:17:59 -04:00
|
|
|
|
2023-02-11 12:15:50 -05:00
|
|
|
allTests : List Test
|
2022-05-02 11:13:13 -04:00
|
|
|
allTests = [
|
2023-03-25 15:55:28 -04:00
|
|
|
DimEq.tests,
|
2023-09-16 07:34:11 -04:00
|
|
|
FreeVars.tests,
|
2022-05-25 10:10:19 -04:00
|
|
|
Reduce.tests,
|
2023-02-11 12:15:50 -05:00
|
|
|
Equal.tests,
|
2023-02-28 14:51:54 -05:00
|
|
|
Typechecker.tests,
|
2023-03-16 13:19:17 -04:00
|
|
|
PrettyTerm.tests,
|
2023-03-04 15:02:51 -05:00
|
|
|
Lexer.tests,
|
2023-03-10 15:52:29 -05:00
|
|
|
Parser.tests,
|
2023-03-15 10:54:51 -04:00
|
|
|
FromPTerm.tests,
|
|
|
|
todo "DimEq",
|
|
|
|
todo "Pretty dctx/tctx/tyctx/eqctx"
|
2022-05-02 11:13:13 -04:00
|
|
|
]
|
2022-04-27 14:06:39 -04:00
|
|
|
|
2023-02-23 04:02:45 -05:00
|
|
|
main : IO ()
|
|
|
|
main = TAP.main !(getTestOpts "quox test suite") ["all" :- allTests]
|