MCPcopy Index your code
hub / github.com/Monibuca/engine / TestBuffer

Function TestBuffer

util/buffer_test.go:7–18  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

5)
6
7func TestBuffer(t *testing.T) {
8 t.Run(t.Name(), func(t *testing.T) {
9 var b Buffer
10 t.Log(b == nil)
11 b.Write([]byte{1, 2, 3})
12 if b == nil {
13 t.Fail()
14 } else {
15 t.Logf("b:% x", b)
16 }
17 })
18}

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.95

Tested by

no test coverage detected