Esempio n. 1
0
        public void FindAllTest()
        {
            var a = new[] { new EClass(1), new EClass(2) };
            var l = new EventedList <EClass>(a);

            Assert.That(l.FindAll(e => e.Prop >= 1), Is.EquivalentTo(l));
            Assert.That(l.FindAll(e => e.Prop < 1), Is.Empty);
        }