summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/jrummikub/control/TurnControlTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/jrummikub/control/TurnControlTest.java b/test/jrummikub/control/TurnControlTest.java
index bc259d1..2efab67 100644
--- a/test/jrummikub/control/TurnControlTest.java
+++ b/test/jrummikub/control/TurnControlTest.java
@@ -75,6 +75,9 @@ public class TurnControlTest {
mockTable = new MockTable();
mockHand = new MockHand();
+
+ mockView.displayStartTurnPanel = false;
+
List<Pair<Stone, Position>> stones = Arrays.asList(new Pair<Stone, Position>(new Stone(RED), new Position(0,0)),
new Pair<Stone, Position>(new Stone(BLACK), new Position(1,0)));
@@ -88,6 +91,8 @@ public class TurnControlTest {
i++;
}
assertEquals(stones.size(), i);
+
+ assertTrue(mockView.displayStartTurnPanel);
}
@Test