public function testInverseExceptionNotSquare(array $A) { $A = MatrixFactory::create($A); $this->setExpectedException('MathPHP\\Exception\\MatrixException'); $A->inverse(); }