public void OperateMapRemoveRange()
        {
            // Test remove ranges.
            if (!args.ValidateMap())
            {
                return;
            }

            Key key = new Key(args.ns, args.set, "opmkey8");

            client.Delete(null, key);

            Dictionary <Value, Value> inputMap = new Dictionary <Value, Value>();

            inputMap[Value.Get("Charlie")] = Value.Get(55);
            inputMap[Value.Get("Jim")]     = Value.Get(98);
            inputMap[Value.Get("John")]    = Value.Get(76);
            inputMap[Value.Get("Harry")]   = Value.Get(82);
            inputMap[Value.Get("Sally")]   = Value.Get(79);
            inputMap[Value.Get("Lenny")]   = Value.Get(84);
            inputMap[Value.Get("Abe")]     = Value.Get(88);

            Record record = client.Operate(null, key,
                                           MapOperation.PutItems(MapPolicy.Default, binName, inputMap),
                                           MapOperation.RemoveByKeyRange(binName, Value.Get("J"), Value.Get("K"), MapReturnType.COUNT),
                                           MapOperation.RemoveByValueRange(binName, Value.Get(80), Value.Get(85), MapReturnType.COUNT),
                                           MapOperation.RemoveByIndexRange(binName, 0, 2, MapReturnType.COUNT),
                                           MapOperation.RemoveByRankRange(binName, 0, 2, MapReturnType.COUNT)
                                           );

            AssertRecordFound(key, record);

            IList results = record.GetList(binName);
            int   i       = 0;

            long val = (long)results[i++];

            Assert.AreEqual(7, val);

            val = (long)results[i++];
            Assert.AreEqual(2, val);

            val = (long)results[i++];
            Assert.AreEqual(2, val);

            val = (long)results[i++];
            Assert.AreEqual(2, val);

            val = (long)results[i++];
            Assert.AreEqual(1, val);
        }