(t *testing.T)
| 105 | } |
| 106 | |
| 107 | func 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 | |
| 115 | func BenchmarkEncodeSet(b *testing.B) { |
| 116 | for i := 0; i < b.N; i++ { |
nothing calls this directly
no test coverage detected