Ejemplo n.º 1
0
def test_game_state_from_json_ally_starting(json_state):
    state, bans = mcts.game_state_from_json(json_state)
    assert state.ally_starting
Ejemplo n.º 2
0
def test_game_state_from_json_ally_team(json_state):
    state, bans = mcts.game_state_from_json(json_state)
    assert state.ally_team == [1, 2, 3]
Ejemplo n.º 3
0
def test_game_state_from_json_enemy_team(json_state):
    state, bans = mcts.game_state_from_json(json_state)
    assert state.enemy_team == [4, 5]
Ejemplo n.º 4
0
def test_game_state_from_json_bans(json_state):
    state, bans = mcts.game_state_from_json(json_state)
    assert bans == {6, 7, 8, 9, 0}