(t *testing.T, f func())
| 346 | } |
| 347 | |
| 348 | func assertPanic(t *testing.T, f func()) { |
| 349 | defer func() { |
| 350 | if r := recover(); r == nil { |
| 351 | t.Errorf("no panic") |
| 352 | } |
| 353 | }() |
| 354 | f() |
| 355 | } |
| 356 | |
| 357 | func BenchmarkIteratorResultAppend(b *testing.B) { |
| 358 | testCases := []struct { |
no test coverage detected