(t *testing.T, buf Buffer)
| 540 | } |
| 541 | |
| 542 | func checkEmpty(t *testing.T, buf Buffer) { |
| 543 | if !Empty(buf) { |
| 544 | t.Error("Buffer should start empty!") |
| 545 | } |
| 546 | } |
| 547 | |
| 548 | func checkCap(t *testing.T, buf Buffer, correctCap int64) { |
| 549 | if buf.Cap() != correctCap { |
no test coverage detected
searching dependent graphs…