Pantograph/Test/Main.lean

19 lines
386 B
Plaintext
Raw Permalink Normal View History

2023-05-22 11:47:46 -07:00
import LSpec
2023-08-13 21:19:06 -07:00
import Test.Integration
import Test.Proofs
import Test.Serial
2023-05-22 11:47:46 -07:00
open Pantograph.Test
2023-05-22 11:47:46 -07:00
unsafe def main := do
Lean.enableInitializersExecution
Lean.initSearchPath (← Lean.findSysroot)
let suites := [
2023-08-14 21:43:40 -07:00
test_integration,
test_proofs,
test_serial
]
let all ← suites.foldlM (λ acc m => do pure $ acc ++ (← m)) LSpec.TestSeq.done
LSpec.lspecIO $ all