(b *testing.B)
| 354 | } |
| 355 | |
| 356 | func BenchmarkWriteUint64(b *testing.B) { |
| 357 | wr := NewWriter(Nowhere) |
| 358 | b.SetBytes(9) |
| 359 | b.ReportAllocs() |
| 360 | b.ResetTimer() |
| 361 | for i := 0; i < b.N; i++ { |
| 362 | wr.WriteUint64(tuint64) |
| 363 | } |
| 364 | } |
| 365 | |
| 366 | func TestWriteBytes(t *testing.T) { |
| 367 | var buf bytes.Buffer |
nothing calls this directly
no test coverage detected
searching dependent graphs…