summaryrefslogtreecommitdiff
path: root/src/miinaharava/tests
diff options
context:
space:
mode:
authorAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-02-18 17:24:14 +0200
committerAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-02-18 17:24:14 +0200
commitf8452c313ca78e5f04714331c4a222e8aed53805 (patch)
tree2bd492d332e5867b6875d560ce97072a27e3523f /src/miinaharava/tests
parent5e69623d022ecd747e20ca29e891d221c9ccbbab (diff)
Bot doesn't need to know cursor coordinates.
Diffstat (limited to 'src/miinaharava/tests')
-rw-r--r--src/miinaharava/tests/test_bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miinaharava/tests/test_bot.py b/src/miinaharava/tests/test_bot.py
index 4dab148..435151f 100644
--- a/src/miinaharava/tests/test_bot.py
+++ b/src/miinaharava/tests/test_bot.py
@@ -26,7 +26,7 @@ class TestBotClass(unittest.TestCase):
tested = set()
while True:
- action, x, y = bot.hint(brd.get_view(), 0, 0)
+ action, x, y = bot.hint(brd.get_view())
if (x,y) in tested:
break
tested.add((x,y))