public void CountOptimization() { // The counts are different, so we don't need to iterate var first = new ThrowingEnumerable(5); var second = new ThrowingEnumerable(10); Assert.IsFalse(first.SequenceEqual(second)); }
public void CountOptimization() { // The counts are different, so we don't need to iterate var first = new ThrowingEnumerable(5); var second = new ThrowingEnumerable(10); Assert.IsFalse(first.SequenceEqual(second)); }