示例#1
0
 /**
  * @dataProvider dataprovider
  */
 public function testGetNeighbor($x, $y, $m, $n, $r, $msg) {
     $cell = new CellField($x, $y);
     $this->assertEquals($r, $cell->getNeighbor($m, $n), $msg);
 }