'best_response with tie_breaking=\'random\''

def test_best_response_with_random_tie_breaking(self):

    ok_((self.player.best_response([(2 / 3), (1 / 3)], tie_breaking='random') in [0, 1]))
    seed = 1234
    br0 = self.player.best_response([(2 / 3), (1 / 3)], tie_breaking='random', random_state=seed)
    br1 = self.player.best_response([(2 / 3), (1 / 3)], tie_breaking='random', random_state=seed)
    eq_(br0, br1)
