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
495 B
Text
24 lines
495 B
Text
mutual
|
||
inductive AList (α β : Type u)
|
||
| nil
|
||
| cons (a : α) (t : BList α β)
|
||
|
||
inductive BList (α β : Type u)
|
||
| cons (b : β) (t : AList α β)
|
||
end
|
||
|
||
#print AList.nil.sizeOf_spec
|
||
#print AList.cons.sizeOf_spec
|
||
#print BList.cons.sizeOf_spec
|
||
|
||
mutual
|
||
inductive Foo (α : Type u)
|
||
| mk (cs : AList (Foo α) (Boo α))
|
||
|
||
inductive Boo (α : Type u)
|
||
| mk (a : α) (cs : BList (Foo α) (Boo α))
|
||
end
|
||
|
||
#print Boo.mk.sizeOf_spec
|
||
#print Foo._sizeOf_4_eq
|
||
#print Foo._sizeOf_3_eq
|