Ejemplo n.º 1
0
 def test_other_player(self):
     b = Board()
     self.assertEquals(b.other_player(Board.player_a), Board.player_b)
     self.assertEquals(b.other_player(Board.player_b), Board.player_a)
Ejemplo n.º 2
0
 def other_player(player):
     return Board.other_player(player)