Exemple #1
0
        public void GetRangeTest()
        {
            var a = new[] { new EClass(1), new EClass(2), new EClass(3) };
            var l = new EventedList <EClass>(a);
            var r = l.GetRange(1, 2);

            Assert.That(r.Count, Is.EqualTo(2));
            Assert.That(r[0].Prop, Is.EqualTo(2));
        }