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.
24 lines
405 B
Text
24 lines
405 B
Text
structure Foo where
|
||
val := 10
|
||
|
||
instance : Singleton α (List α) where
|
||
singleton a := [a]
|
||
|
||
instance : Insert α (List α) where
|
||
insert a as := a :: as
|
||
|
||
def f1 : Foo := {}
|
||
|
||
def f2 : List Nat := {}
|
||
|
||
def f3 : List Nat := {1, 2}
|
||
|
||
def f4 (a : Nat) : List Nat := {a}
|
||
|
||
def f5 (val : Nat) : Foo := {val}
|
||
|
||
def f6 (val : Nat) : List Nat := {val}
|
||
|
||
def f7 : String := {}
|
||
|
||
def f8 (val : Nat) : String := { val }
|