MathPHP\LinearAlgebra\MatrixOperationsTest::testMultiplyExceptionNotMatrixOrVector PHP Method

testMultiplyExceptionNotMatrixOrVector() public method

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