projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77b3f3a
)
Fix tests.
author
Simon Cross
<hodgestar@gmail.com>
Sun, 11 May 2014 17:32:15 +0000
(19:32 +0200)
committer
Simon Cross
<hodgestar@gmail.com>
Sun, 11 May 2014 17:32:28 +0000
(19:32 +0200)
naja/tests/test_gameboard.py
patch
|
blob
|
history
diff --git
a/naja/tests/test_gameboard.py
b/naja/tests/test_gameboard.py
index bd1a16c1c080c3ea95b5a075ed8f1cc2f6345ef2..a825544b6bf7727e3a8eb60dfa78dba241684080 100644
(file)
--- a/
naja/tests/test_gameboard.py
+++ b/
naja/tests/test_gameboard.py
@@
-7,7
+7,7
@@
from naja import actions
class TestGameBoard(TestCase):
def test_export_new_board(self):
- board = GameBoard.new_game(
4, 4,
[])
+ board = GameBoard.new_game([])
self.assertEqual(board.export(), {
'max_health': 4,
'health': 4,
@@
-19,7
+19,7
@@
class TestGameBoard(TestCase):
})
def test_lose_health(self):
- board = GameBoard.new_game(
4, 4,
[])
+ board = GameBoard.new_game([])
self.assertEqual(board.health, 4)
state_1 = board.export()