public void GetEnumerator_CheckReturnedValues() { NewList <int> list = new NewList <int> { 67, 5 }; var enumerator = list.GetEnumerator(); enumerator.MoveNext(); Assert.Equal(67, enumerator.Current); enumerator.MoveNext(); Assert.Equal(5, enumerator.Current); Assert.False(enumerator.MoveNext()); }