summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/control/RoundControlTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/jrummikub/control/RoundControlTest.java')
-rw-r--r--test/jrummikub/control/RoundControlTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/jrummikub/control/RoundControlTest.java b/test/jrummikub/control/RoundControlTest.java
index 116786e..159df9d 100644
--- a/test/jrummikub/control/RoundControlTest.java
+++ b/test/jrummikub/control/RoundControlTest.java
@@ -61,6 +61,7 @@ public class RoundControlTest {
assertNotNull(view.getTablePanel().rightPlayerName);
assertTrue(view.displayStartTurnPanel);
assertFalse(view.startTurnEvent.listeners.isEmpty());
+ assertFalse(view.displayWinPanel);
checkTableDisplay();
}
@@ -194,6 +195,8 @@ public class RoundControlTest {
view.startTurnEvent.emit();
assertFalse(view.displayStartTurnPanel);
+ Stone stone = testGameState.players.get(0).hand.stones.remove(0);
+ newTable.drop(new StoneSet(stone), new Position(0, 0));
testGameState.players.get(0).hand.stones.clear();
resetTurnStart();
view.getPlayerPanel().endTurnEvent.emit();