public void EnumeratorResetReturnsToFirstElement() { using (NativeArray2D <int> array = CreateArray(2, 3)) { NativeArray2D <int> alias = array; alias[0, 0] = 123; NativeArray2D <int> .Enumerator e = array.GetEnumerator(); e.MoveNext(); e.Reset(); Assert.That(e.MoveNext(), Is.True); Assert.That(e.Current, Is.EqualTo(123)); } }