Beispiel #1
0
        public void Enumerable()
        {
            Matrix2D <int> m = new Matrix2D <int>(3, 2);

            fillMatrix2D(m, TEST_INTS_2D);

            IEnumerator ieExpected = TEST_INTS_FLAT.GetEnumerator();
            IEnumerator ieReal     = m.GetEnumerator();

            while (ieExpected.MoveNext() && ieReal.MoveNext())
            {
                Aver.AreObjectsEqual(ieExpected.Current, ieReal.Current);
            }
        }