/**
  * @depends testSpiralBlackWins
  * @depends testSpiralNobodyWins
  */
 public function testIllegalDiagonalNobodyWins()
 {
     $lines = array("X O . .", " O X X X", "  O X O .", "   . O X .", "    X X O O");
     $this->assertEquals(null, resultFor($this->makeBoard($lines)));
 }
Exemple #2
0
 /**
  * @depends testRectangleWhiteWins
  * @depends testRectangleBlackWins
  */
 public function testSpiralNobodyWins()
 {
     $this->markTestSkipped();
     $lines = array("OXXXXXXXX", "OXOOOOOOO", "OXOXXXXXO", "OXOXOOOXO", "OXOX.XOXO", "OXOOOXOXO", "OXXXXXOXO", "OOOOOOOXO", "XXXXXXXXO");
     $this->assertEquals(null, resultFor($this->makeBoard($lines)));
 }