def METHOD_NAME(r, param, return_value, state):
    r.zadd('foo', {'four': 4.0, 'three': 3.0})
    assert r.zadd('foo', param, ch=True) == return_value
    assert r.zrange('foo', 0, -1, withscores=True) == state