public void RemoveRangeItemTest()
        {
            RangeCollection <MyRangeItem> collection = new RangeCollection <MyRangeItem>();

            collection.Add(new MyRangeItem(1, 10));
            collection.Add(new MyRangeItem(20, 10));

            collection.RemoveNearest(0, 15);

            var result = collection.ToList();

            Assert.IsTrue(result[0].start == 20 && result[0].length == 10);

            collection.Remove(20, 1);
            Assert.IsTrue(collection.Count == 0);
        }