Пример #1
0
def test_expand_possible_actions(node):
    fresh_node = mcts.expand(node, 130, {1, 2})

    assert fresh_node.possible_actions == [2]
Пример #2
0
def test_expand_treepath(node):
    fresh_node = mcts.expand(node, 130, {1, 2})

    assert fresh_node.tree_path == {1, 4, 130}