public function testLUDecompositionExceptionNotSquare() { $A = MatrixFactory::create([[1, 2, 3], [2, 3, 4]]); $this->setExpectedException('MathPHP\\Exception\\MatrixException'); $A->LUDecomposition(); }