public function testCofactorMatrix(array $A, array $R) { $A = MatrixFactory::create($A); $R = new SquareMatrix($R); $this->assertEquals($R, $A->cofactorMatrix()); }