Example #1
0
 public void VerifyWhereWhenExecutionIsDeferred()
 {
     ThrowingExceptionEnumerable <int> .AssertDeferred <int, int>(source => source.Where(x => x == 0));
 }
 public void VerifySelectWhenExecutionIsDeferred()
 {
     ThrowingExceptionEnumerable <int> .AssertDeferred <int, int>(source => source.Select(x => x));
 }