Пример #1
0
        public void TestMatrixAddition()
        {
            var matrixA = new double[] { 1, 7, 3 };
            var matrixB = new double[] { 7, 18, 9 };

            var newMatrix = MathMethods.MatrixAdd(matrixA, matrixB);

            Assert.AreEqual(25, newMatrix[1]);
        }