Exemplo n.º 1
0
        public void MatrixOperationsJoinRowsIncorrectDimensions()
        {
            Matrix m1 = Setup.GetTestMatrix1();

            Assert.Throws <InvalidMatrixDimensionsException>(() => m1.Join(Setup.GetTestMatrix3(), MatrixDimension.Rows));
            Assert.Throws <InvalidMatrixDimensionsException>(() => Matrix.Join(Setup.GetTestMatrix1(), Setup.GetTestMatrix3(), MatrixDimension.Rows));
        }