MCPcopy Index your code
hub / github.com/ByteStorage/FlyDB / TestNewMessagePackEncoder

Function TestNewMessagePackEncoder

lib/encoding/messagepack_test.go:28–33  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

26}
27
28func TestNewMessagePackEncoder(t *testing.T) {
29 encoder := NewMessagePackEncoder()
30
31 assert.NotNil(t, encoder.enc)
32 assert.NotNil(t, encoder.b)
33}
34
35func TestNewMessagePackDecoder(t *testing.T) {
36 exampleBytes := []byte("example")

Callers

nothing calls this directly

Calls 1

NewMessagePackEncoderFunction · 0.85

Tested by

no test coverage detected