public function testGetN(array $A, int $n) { $matrix = MatrixFactory::create($A); $this->assertEquals($n, $matrix->getN()); }