Pantograph/Test/Main.lean

24 lines
473 B
Plaintext
Raw Normal View History

2023-05-22 11:47:46 -07:00
import LSpec
import Test.Environment
2023-08-13 21:19:06 -07:00
import Test.Integration
2024-03-31 16:43:30 -07:00
import Test.Library
import Test.Metavar
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
2023-11-06 11:43:57 -08:00
def main := do
Lean.initSearchPath (← Lean.findSysroot)
let suites := [
2024-03-31 16:43:30 -07:00
Environment.suite,
Integration.suite,
2024-03-31 16:43:30 -07:00
Library.suite,
Metavar.suite,
Proofs.suite,
Serial.suite,
]
let all ← suites.foldlM (λ acc m => do pure $ acc ++ (← m)) LSpec.TestSeq.done
LSpec.lspecIO $ all