public void ExecutionIsDeferred() { ThrowingEnumerable.AssertDeferred(src => src.Where(x => x > 0)); }
public void WithIndexExecutionIsDeferred() { ThrowingEnumerable.AssertDeferred(src => src.Where((x, index) => x > 0)); }
public void ExecutionIsDeferred() { ThrowingEnumerable.AssertDeferred(src => src.Select(x => x * 2)); }