(b *testing.B)
| 396 | } |
| 397 | |
| 398 | func BenchmarkList_Append(b *testing.B) { |
| 399 | b.ReportAllocs() |
| 400 | l := NewList[int]() |
| 401 | for i := 0; i < b.N; i++ { |
| 402 | l = l.Append(i) |
| 403 | } |
| 404 | } |
| 405 | |
| 406 | func BenchmarkList_Prepend(b *testing.B) { |
| 407 | b.ReportAllocs() |
nothing calls this directly
no test coverage detected
searching dependent graphs…