diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2014-09-14 12:23:55 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2014-09-14 12:23:55 +0200 |
commit | aceb0d301274962289d62a41421e3cf0c8738053 (patch) | |
tree | 86e7594f568de60118a4c549d3b1e52b5725bac2 /qml/python/tests | |
parent | 57ddb2dfff768d323f2dae0af56fc086a66b0044 (diff) |
Extract initial player from goban
Diffstat (limited to 'qml/python/tests')
-rw-r--r-- | qml/python/tests/test_game.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qml/python/tests/test_game.py b/qml/python/tests/test_game.py index 737e55b..31ff355 100644 --- a/qml/python/tests/test_game.py +++ b/qml/python/tests/test_game.py @@ -23,7 +23,7 @@ class TestBoard(unittest.TestCase): def test_createTree(self): - def fun(pos): + def fun(pos, action): return pos with open("python/tests/test.sgf") as f: @@ -73,3 +73,5 @@ class TestBoard(unittest.TestCase): currentgame.normalize() + self.assertEqual('W', currentgame.current_player) + |