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