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

CombineTest() private method

private CombineTest ( ) : void
return void
        public void CombineTest()
        {
            int[][,] matrices =
            {
                new int[,]
                {
                      {0, 1}
                },
                
                new int[,]
                {
                      {1, 0},
                      {1, 0}
                },
                
                new int[,]
                {
                      {0, 2}
                }
            };


            int[,] expected = 
            {
                 {0, 1},
                 {1, 0},
                 {1, 0},
                 {0, 2}
            };

            int[,] actual;
            actual = Matrix.Stack(matrices);

            Assert.IsTrue(Matrix.IsEqual(expected, actual));
        }
MatrixTest