Пример #1
0
        public void Addition()
        {
            Matrix33F m1     = new Matrix33F(columnMajor, MatrixOrder.ColumnMajor);
            Matrix33F m2     = Matrix33F.One;
            Matrix33F result = Matrix33F.Add(m1, m2);

            for (int i = 0; i < 9; i++)
            {
                Assert.AreEqual(rowMajor[i] + 1.0f, result[i]);
            }
        }