MCPcopy Index your code
hub / github.com/CodisLabs/codis / TestBtoi64

Function TestBtoi64

pkg/proxy/redis/decoder_test.go:13–19  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

11)
12
13func TestBtoi64(t *testing.T) {
14 for i, b := range tmap {
15 v, err := Btoi64(b)
16 assert.MustNoError(err)
17 assert.Must(v == i)
18 }
19}
20
21func TestDecodeInvalidRequests(t *testing.T) {
22 test := []string{

Callers

nothing calls this directly

Calls 1

Btoi64Function · 0.85

Tested by

no test coverage detected