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)
def other_player(player): return Board.other_player(player)