MCPcopy
hub / github.com/ha/doozerd / TestEncodeSet

Function TestEncodeSet

src/pkg/store/store_test.go:107–113  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

105}
106
107func TestEncodeSet(t *testing.T) {
108 for _, x := range SetKVRM {
109 got, err := EncodeSet(x.k, x.v, x.r)
110 assert.Equal(t, nil, err)
111 assert.Equal(t, x.m, got)
112 }
113}
114
115func BenchmarkEncodeSet(b *testing.B) {
116 for i := 0; i < b.N; i++ {

Callers

nothing calls this directly

Calls 1

EncodeSetFunction · 0.85

Tested by

no test coverage detected