public void Contains()
        {
            var list = new IntIntSortList();

            System.Collections.Generic.KeyValuePair <int, int> value = new System.Collections.Generic.KeyValuePair <int, int>(1, 27);
            list.Add(value);
            Assert.IsTrue(list.Contains(value));
        }
        public void Add()
        {
            var list = new IntIntSortList();

            list.Add(new System.Collections.Generic.KeyValuePair <int, int>(1, 100));
            list.Add(2, 200);

            Assert.AreEqual(list[0], 100);
            Assert.AreEqual(list[1], 200);
        }
        private IntIntSortList CreateTestList()
        {
            var list = new IntIntSortList();

            for (var i = 0; i < 25; i++)
            {
                list.Add(i, i + 26);
            }
            return(list);
        }