def test_random_choice():
    n, m = 5, 4
    payoff_matrix = np.zeros((n, m))
    player = Player(payoff_matrix)

    eq_(player.random_choice([0]), 0)

    actions = list(range(player.num_actions))
    ok_(player.random_choice() in actions)


# NormalFormGame #
dataset/ETHPy150Open QuantEcon/QuantEcon.py/quantecon/game_theory/tests/test_normal_form_game.py/test_random_choice/original