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

ToMatrixTest() private method

private ToMatrixTest ( ) : void
return void
        public void ToMatrixTest()
        {
            double[] array = { 1, 5, 2 };
            double[,] expected = { { 1, 5, 2 } };
            double[,] actual = Matrix.ToMatrix(array);
            Assert.IsTrue(expected.IsEqual(actual));
        }
MatrixTest