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.
15 lines
890 B
Text
15 lines
890 B
Text
12
|
|
bigop 0 [0, 2, 4] Add.add fun i => (i != 2, i) : Nat
|
|
bigop 0 (index_iota 10 20) Add.add fun i => (i != 5, i + 1) : Nat
|
|
bigop 0 (index_iota 10 20) Add.add fun i => (true, i + 1) : Nat
|
|
bigop 1 [0, 2, 4] Mul.mul fun i => (i != 2, i) : Nat
|
|
bigop 1 (index_iota 10 20) Mul.mul fun i => (i != 5, i + 1) : Nat
|
|
bigop 1 (index_iota 10 20) Mul.mul fun i => (true, i + 1) : Nat
|
|
bigop 0 Enumerable.elems Add.add fun i => (true, i + 1) : Fin 10
|
|
bigop 0 Enumerable.elems Add.add fun i => (i != 2, i + 1) : Fin 10
|
|
bigop 0 Enumerable.elems Add.add fun i => (myPred i, i + i) : Fin 10
|
|
bigop 1 Enumerable.elems Mul.mul fun i => (true, i + 1) : Fin 10
|
|
bigop 1 Enumerable.elems Mul.mul fun i => (i != 2, i + 1) : Fin 10
|
|
bigop 1 Enumerable.elems Mul.mul fun i => (myPred i, i + i) : Fin 10
|
|
bigop 0 (index_iota 10 20) Add.add fun i => (true, i + 1) : Nat
|
|
bigop 0 [0, 1, 2] Nat.add fun i => (true, i + 1) : Nat
|