public function testCofactor(array $A, int $mᵢ, int $nⱼ, $Cᵢⱼ) { $A = MatrixFactory::create($A); $this->assertEquals($Cᵢⱼ, $A->cofactor($mᵢ, $nⱼ)); }