public function testGetMatrix(array $A, array $R) { $D = new DiagonalMatrix($A); $this->assertEquals($R, $D->getMatrix()); }