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