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.
20 lines
380 B
Text
20 lines
380 B
Text
class Class where
|
|
instance empty: Class := {}
|
|
|
|
mutual
|
|
inductive T (δ: Class) where
|
|
| mk (ss: List (S δ))
|
|
|
|
inductive S (δ: Class) where
|
|
| mk (ts: List (T δ))
|
|
end
|
|
|
|
mutual
|
|
partial def str_T: T δ → String
|
|
| .mk ss => "\n".intercalate (ss.map str_S)
|
|
|
|
partial def str_S: S δ → String
|
|
| .mk ts => "\n".intercalate (ts.map str_T)
|
|
end
|
|
|
|
def error := str_T (T.mk (δ := empty) [])
|