public void Iteration() { // ReSharper disable once SuggestVarOrType_SimpleTypes using BinaryList <int> .Enumerator e = Sample.GetEnumerator(); Assert.That(e.MoveNext(), Is.True); Assert.That(e.Current, Is.EqualTo(42)); Assert.That(e.MoveNext(), Is.False); Assert.That(e.MoveNext(), Is.False); }