mirror of
https://github.com/anoma/juvix.git
synced 2024-12-12 14:28:08 +03:00
2cf3f85439
* work in progress towards implicit arguments * Wip towards implicit types * improve arity checker * Add version of SimpleFungibleToken with implicit arguments * guess arity of body before checking the lhs of a clause * add ArityUnknown and fix some tests * wip: proper errors in arity checker * fix bugs, improve errors and add tests * format * set hlint version to 3.4 in the ci * update pre-commit version to 3.0.0 * minor changes * added more revisions * minor Co-authored-by: Jonathan Cubides <jonathan.cubides@uib.no>
31 lines
586 B
Haskell
31 lines
586 B
Haskell
module Main (main) where
|
|
|
|
import Arity qualified
|
|
import BackendC qualified
|
|
import Base
|
|
import MonoJuvix qualified
|
|
import Scope qualified
|
|
import Termination qualified
|
|
import TypeCheck qualified
|
|
|
|
slowTests :: TestTree
|
|
slowTests =
|
|
testGroup
|
|
"MiniJuvix slow tests"
|
|
[BackendC.allTests]
|
|
|
|
fastTests :: TestTree
|
|
fastTests =
|
|
testGroup
|
|
"MiniJuvix fast tests"
|
|
[ Scope.allTests,
|
|
Termination.allTests,
|
|
Arity.allTests,
|
|
TypeCheck.allTests,
|
|
MonoJuvix.allTests
|
|
]
|
|
|
|
main :: IO ()
|
|
main = do
|
|
defaultMain (testGroup "MiniJuvix tests" [fastTests, slowTests])
|