diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2017-05-20 10:25:08 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2017-05-20 10:25:08 +0200 |
commit | e0f3a4caeb4e7889f354450baabc56f02e21fc10 (patch) | |
tree | c1dbc29fe57cbd3e5a8dac2ef86263e285ebe361 /backend/src/test/java | |
parent | Add error toasts (diff) | |
download | seven-wonders-e0f3a4caeb4e7889f354450baabc56f02e21fc10.tar.gz seven-wonders-e0f3a4caeb4e7889f354450baabc56f02e21fc10.tar.bz2 seven-wonders-e0f3a4caeb4e7889f354450baabc56f02e21fc10.zip |
Add "sayReady" for players to call to receive their hand
Diffstat (limited to 'backend/src/test/java')
-rw-r--r-- | backend/src/test/java/org/luxons/sevenwonders/game/GameTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/src/test/java/org/luxons/sevenwonders/game/GameTest.java b/backend/src/test/java/org/luxons/sevenwonders/game/GameTest.java index e9f7facf..56829951 100644 --- a/backend/src/test/java/org/luxons/sevenwonders/game/GameTest.java +++ b/backend/src/test/java/org/luxons/sevenwonders/game/GameTest.java @@ -20,7 +20,7 @@ import static org.junit.Assert.assertTrue; public class GameTest { @Test - public void test() { + public void testFullGame() { int nbPlayers = 5; Game game = createGame(nbPlayers); @@ -51,7 +51,7 @@ public class GameTest { game.prepareMove(turnInfo.getPlayerIndex(), move); } } - assertTrue(game.areAllPlayersReady()); + assertTrue(game.allPlayersPreparedTheirMove()); game.playTurn(); } |