public void TrueForAll() { Func <int, bool> predicate = Functor.TrueForAll <int>(); Assert.That(predicate.Target, Is.Not.Null); for (int i = 0; i < 200; ++i) { Assert.That(predicate(i)); } }
public void TrueForAll() { Func <int, bool> predicate = Functor.TrueForAll <int>(); Assert.That(predicate.Target, Is.Not.Null); for (int i = 0; i < 200; ++i) { Assert.That(predicate(i)); } }