예제 #1
0
 /**
  * @depends testBoardCreation
  */
 public function testCleanSquares(Board $board)
 {
     $squares = array($board->getSquareByPos(1, 1), null, $board->getSquareByPos(3, 8), $board->getSquareByPos(3, 8));
     $cleanSquares = array($board->getSquareByPos(1, 1), $board->getSquareByPos(3, 8));
     $this->assertSame($cleanSquares, $board->cleanSquares($squares));
 }