예제 #1
0
 public void AnyTest()
 {
     IsFalse(zero.Any());
     IsFalse(zero.Any(pLessThan10));
     IsFalse(zero.Any(pEqualOrGreaterThan100));
     IsFalse(zero.Any(tp10));
     IsTrue(array.Any());
     IsTrue(array.Any(pLessThan10));
     IsFalse(array.Any(pEqualOrGreaterThan100));
     IsTrue(array.Any(tp10));
     IsFalse(array.Any(tp0));
 }