This PR sets up the new integrated test/bench suite. It then migrates all benchmarks and some related tests to the new suite. There's also some documentation and some linting. For now, a lot of the old tests are left alone so this PR doesn't become even larger than it already is. Eventually, all tests should be migrated to the new suite though so there isn't a confusing mix of two systems.
64 lines
836 B
Text
64 lines
836 B
Text
Prop
|
||
Type
|
||
Type
|
||
Type 1
|
||
@max Nat
|
||
@HEq Nat 1
|
||
@List.nil
|
||
Nat
|
||
List Nat
|
||
id Nat
|
||
id (id (id Nat))
|
||
List Nat
|
||
@id Type Nat
|
||
List.{0} Nat
|
||
id.{2} Nat
|
||
Sum.{0, 0} Nat Nat
|
||
id (@id Type Nat)
|
||
fun a => a
|
||
fun a => a
|
||
fun a b => a
|
||
fun a b => a
|
||
fun {a b} => a
|
||
typeAs
|
||
({α : Type} →
|
||
α → α)
|
||
fun {α} a => a
|
||
fun {α}
|
||
[inst :
|
||
ToString α]
|
||
a =>
|
||
@toString α inst a
|
||
(α : Type) → α
|
||
(α : Type) →
|
||
Type → α
|
||
Type → Type → Type
|
||
(α : Type) → α → α
|
||
{α : Type} → α
|
||
{α : Type} →
|
||
[ToString α] → α
|
||
∀ (x : Nat), x = x
|
||
∀ {x : Nat}
|
||
[ToString Nat],
|
||
x = x
|
||
∀ x, x = x
|
||
0
|
||
1
|
||
42
|
||
"hi"
|
||
(1, 2, 3)
|
||
(1, 2).fst
|
||
decide (1 < 2) ||
|
||
true
|
||
id (fun a => a) 0
|
||
typeAs (Id Nat)
|
||
(let x := 1;
|
||
do
|
||
discard (pure 2)
|
||
let y : Nat := 3
|
||
pure (x + y))
|
||
typeAs (Id Nat)
|
||
(pure 1 >>= pure)
|
||
(0 ≤ 1) = False
|
||
(0 = 1) = False
|
||
- -0
|