예제 #1
0
        public void ExistsTest()
        {
            var a = new[] { new EClass(1), new EClass(2) };
            var l = new EventedList <EClass>(a);

            Assert.That(l.Exists(e => e.Prop == 1));
            Assert.That(!l.Exists(e => e.Prop == 7));
        }