public void TestCountSetMembers() { const string key = "k2"; var values = new[] { "bar", "bar", "a", "b", "c", "a", "b" }; redisContext.AddToSet(key, values); Assert.AreEqual(4, redisContext.CountSetMembers(key)); }
public void TestCountSetMembers() { const string key = "k2"; var values = new[] { "bar", "bar", "a", "b", "c", "a", "b" }; redisContext.AddToSet(key, values); Assert.AreEqual(4, redisContext.CountSetMembers(key)); }