Accord.Tests.Math.MatrixTest.PowerTest1 C# (CSharp) Method

PowerTest1() private method

private PowerTest1 ( ) : void
return void
        public void PowerTest1()
        {
            double[,] a = Matrix.Identity(5);
            double[,] expected = Matrix.Identity(5);
            double[,] actual = Matrix.Power(a, 10);
            Assert.IsTrue(Matrix.IsEqual(expected, actual));
        }
MatrixTest