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.
26 lines
413 B
Text
26 lines
413 B
Text
/-!
|
|
# Pretty printing tests for `Vector` literals
|
|
-/
|
|
|
|
/-!
|
|
Nil literal
|
|
-/
|
|
/-- info: #v[] : Vector Nat 0 -/
|
|
#guard_msgs in
|
|
#check (#v[] : Vector Nat 0)
|
|
|
|
/-!
|
|
Non-nil literal
|
|
-/
|
|
/-- info: #v[1, 2, 3] : Vector Nat 3 -/
|
|
#guard_msgs in
|
|
#check #v[1, 2, 3]
|
|
|
|
variable (a : Nat) (h : 3 = a)
|
|
|
|
/-!
|
|
Unexpander consumes proof
|
|
-/
|
|
/-- info: #v[1, 2, 3] : Vector Nat a -/
|
|
#guard_msgs in
|
|
#check (⟨#[1, 2, 3], h⟩ : Vector Nat a)
|