package redisrpc
|
|
|
|
import (
|
|
// "strconv"
|
|
"testing"
|
|
// "tgo/helper"
|
|
)
|
|
|
|
func Test_SAdd(t *testing.T) {
|
|
|
|
// reply, err := SAdd("test", "44")
|
|
reply, err := SIsmember("test", "44")
|
|
t.Log(reply)
|
|
t.Log(err)
|
|
|
|
reply, err = SRem("test", "44")
|
|
|
|
t.Log(reply)
|
|
t.Log(err)
|
|
|
|
}
|