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.
17 lines
319 B
Text
17 lines
319 B
Text
def p (x : Nat := 0) : Nat × Nat :=
|
||
(x, x)
|
||
|
||
theorem ex1 : p.1 = 0 :=
|
||
rfl
|
||
|
||
theorem ex2 : (p (x := 1) |>.2) = 1 :=
|
||
rfl
|
||
|
||
def c {α : Type} [Inhabited α] : α × α :=
|
||
(default, default)
|
||
|
||
theorem ex3 {α} [Inhabited α] : c.1 = default (α := α) :=
|
||
rfl
|
||
|
||
theorem ex4 {α} [Inhabited α] : c.2 = default (α := α) :=
|
||
rfl
|