summaryrefslogtreecommitdiff
path: root/backend/src/test/java
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2017-05-20 10:25:08 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2017-05-20 10:25:08 +0200
commite0f3a4caeb4e7889f354450baabc56f02e21fc10 (patch)
treec1dbc29fe57cbd3e5a8dac2ef86263e285ebe361 /backend/src/test/java
parentAdd error toasts (diff)
downloadseven-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.java4
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();
}
bgstack15