MCPcopy Create free account
hub / github.com/djherbis/buffer / checkEmpty

Function checkEmpty

buffer_test.go:542–546  ·  view source on GitHub ↗
(t *testing.T, buf Buffer)

Source from the content-addressed store, hash-verified

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

Callers 1

runPerfectSeriesFunction · 0.85

Calls 1

EmptyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…