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
382 B
Text
17 lines
382 B
Text
-- set_option trace.Elab true
|
||
def myId : List α → List α
|
||
| List.nil => List.nil
|
||
|
||
def constNil : List α → List α
|
||
| List.nil => List.nil
|
||
| List.cons x y => List.nil
|
||
|
||
def failing1 : List α → List α
|
||
| [] => List.nil
|
||
|
||
def failing2 : List α → List α
|
||
| x => List.nil
|
||
| foo.bar => List.nil -- "invalid pattern variable"
|
||
|
||
def myId2 : List α → List α
|
||
| foo.bar => foo.bar
|