Example #1
0
        public void TestAddRangeToRedisList()
        {
            const string key    = "TestAddRangeToList";
            var          values = new[] { "bar", "bar", "a", "b", "c" };

            var length = redisContext.AddRangeToList(key, values);

            Assert.AreEqual(values.Length, length);
            ValidateListResults(key, values);
        }