/** * @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))); }
/** * @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))); }