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.
11 lines
245 B
Text
11 lines
245 B
Text
|
||
universe u
|
||
variable {α : Type u}
|
||
|
||
def split : List α → List α × List α
|
||
| [] => ([], [])
|
||
| [a] => ([a], [])
|
||
| a::b::as => (a :: (split as).1, b :: (split as).2)
|
||
|
||
theorem ex1 : split [1, 2, 3, 4, 5] = ([1, 3, 5], [2, 4]) :=
|
||
rfl
|