feat: Add definitions and theorems to the environment #41
|
@ -2,7 +2,7 @@ import LSpec
|
||||||
import Pantograph.Serial
|
import Pantograph.Serial
|
||||||
import Pantograph.Environment
|
import Pantograph.Environment
|
||||||
|
|
||||||
namespace Pantograph.Test.Catalog
|
namespace Pantograph.Test.Environment
|
||||||
|
|
||||||
open Pantograph
|
open Pantograph
|
||||||
open Lean
|
open Lean
|
||||||
|
@ -24,7 +24,7 @@ def suite: IO LSpec.TestSeq := do
|
||||||
(opts := {})
|
(opts := {})
|
||||||
(trustLevel := 1)
|
(trustLevel := 1)
|
||||||
|
|
||||||
return LSpec.group "Catalog" $
|
return LSpec.group "Environment" $
|
||||||
(LSpec.group "Symbol visibility" (← test_symbol_visibility env))
|
(LSpec.group "Symbol visibility" (← test_symbol_visibility env))
|
||||||
|
|
||||||
end Pantograph.Test.Catalog
|
end Pantograph.Test.Environment
|
|
@ -1,5 +1,5 @@
|
||||||
import LSpec
|
import LSpec
|
||||||
import Test.Catalog
|
import Test.Environment
|
||||||
import Test.Holes
|
import Test.Holes
|
||||||
import Test.Integration
|
import Test.Integration
|
||||||
import Test.Proofs
|
import Test.Proofs
|
||||||
|
@ -15,7 +15,7 @@ def main := do
|
||||||
Integration.suite,
|
Integration.suite,
|
||||||
Proofs.suite,
|
Proofs.suite,
|
||||||
Serial.suite,
|
Serial.suite,
|
||||||
Catalog.suite
|
Environment.suite
|
||||||
]
|
]
|
||||||
let all ← suites.foldlM (λ acc m => do pure $ acc ++ (← m)) LSpec.TestSeq.done
|
let all ← suites.foldlM (λ acc m => do pure $ acc ++ (← m)) LSpec.TestSeq.done
|
||||||
LSpec.lspecIO $ all
|
LSpec.lspecIO $ all
|
||||||
|
|
Loading…
Reference in New Issue