Example #1
0
        public void RemoveRangeTest()
        {
            var a = new[] { new EClass(1), new EClass(2), new EClass(3) };
            var l = new EventedList <EClass>(a);

            l.RemoveRange(0, 2);
            Assert.That(l.Count, Is.EqualTo(1));
            Assert.That(l[0].Prop, Is.EqualTo(3));
        }