public void DoesNotIterateOnOvershootIndex() { IEnumerableWithCount<int> source = new ThrowingEnumerable(7); Assert.Throws<ArgumentOutOfRangeException>(() => source.ElementAt(7)); }
public void DoesNotIterateOnOvershootIndex() { IEnumerableWithCount<int> source = new ThrowingEnumerable(7); Assert.Throws<ArgumentOutOfRangeException>(() => source.ElementAt(7)); }