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

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

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