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

            Assert.That(l.TrueForAll(e => e.Prop > 1), Is.False);
            Assert.That(l.TrueForAll(e => e.Prop > 0), Is.True);
        }