Пример #1
0
 public function testTestMethodWIllPassUnknownAttributeClassToParentForResolution()
 {
     $attr = new \Chippyash\Matrix\Attribute\IsSquare();
     $testArray = [[1, 2, 3], [3, 2, 1], [2, 1, 3]];
     $mA = new NumericMatrix($testArray);
     $this->assertTrue($mA->test($attr));
 }