MathPHP\LinearAlgebra\MatrixOperationsTest::testCofactorExceptionNotSquare PHP Метод

testCofactorExceptionNotSquare() публичный Метод

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