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.
26 lines
359 B
Text
26 lines
359 B
Text
|
||
|
||
def f (x : Nat) : Nat :=
|
||
id (_ x)
|
||
|
||
def g {α β : Type} (a : α) : α :=
|
||
a
|
||
|
||
def f3 (x : Nat) : Nat :=
|
||
let y := g x + g x;
|
||
y + _ + ?hole
|
||
|
||
def f4 {α β} (a : α) := a
|
||
|
||
def f5 {α} {β : _} (a : α) := a
|
||
|
||
def f6 (a : Nat) :=
|
||
let f {α β} (a : α) := a;
|
||
f a
|
||
|
||
partial def f7 (x : Nat) :=
|
||
f7 x
|
||
|
||
partial def f8 (x : Nat) :=
|
||
let rec aux (y : Nat) := aux y;
|
||
x + 1
|