public function testIsSymmetric(array $A, array $R) { $D = new DiagonalMatrix($A); $this->assertTrue($D->isSymmetric()); }