[O] A2 P2.1 Optimize test

This commit is contained in:
wuliaozhiji
2022-02-19 14:59:42 -05:00
parent 813a7ccf70
commit 3b096a8800
+2 -2
View File
@@ -78,8 +78,8 @@ def generate_complete_game_tree(root_move: str, game_state: a2_minichess.Miniche
>>> len(t.get_subtrees())
9
>>> t = t.find_subtree_by_move('b1a2')
>>> [sub.move for sub in t.get_subtrees()]
[]
>>> len(t.get_subtrees())
0
"""
tree = a2_game_tree.GameTree(root_move, game_state.is_white_move())