package redisrpc
|
|
|
|
import (
|
|
"testing"
|
|
// "time"
|
|
)
|
|
|
|
func Test_Incrby(t *testing.T) {
|
|
|
|
c, err := Incrby("test_incrby", 10)
|
|
t.Log(c)
|
|
t.Log(err)
|
|
|
|
}
|
|
|
|
func Test_Decrby(t *testing.T) {
|
|
|
|
c, err := Decrby("test_incrby", 2)
|
|
t.Log(c)
|
|
t.Log(err)
|
|
|
|
}
|