diff options
Diffstat (limited to 'test/jrummikub/control')
-rw-r--r-- | test/jrummikub/control/RoundControlTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/jrummikub/control/RoundControlTest.java b/test/jrummikub/control/RoundControlTest.java index 1e960ff..887df30 100644 --- a/test/jrummikub/control/RoundControlTest.java +++ b/test/jrummikub/control/RoundControlTest.java @@ -675,7 +675,7 @@ public class RoundControlTest { view.tablePanel.clickEvent.emit(new Position(0, 0)); for (int i = 0; i < 4; i++) { - testRoundState.players.get(i).hand = new Hand(gameSettings); + testRoundState.players.get(i).hand = new Hand(); } resetTurnStart(); @@ -816,7 +816,7 @@ public class RoundControlTest { testRound.startRound(); for (int i = 0; i < 4; i++) { - testRoundState.players.get(i).hand = new Hand(gameSettings); + testRoundState.players.get(i).hand = new Hand(); } testRoundState.players.get(0).laidOut = true; @@ -863,7 +863,7 @@ public class RoundControlTest { testRound.startRound(); for (int i = 0; i < 4; i++) { - testRoundState.players.get(i).hand = new Hand(gameSettings); + testRoundState.players.get(i).hand = new Hand(); } testRoundState.players.get(0).laidOut = true; @@ -932,7 +932,7 @@ public class RoundControlTest { @Test public void testRedealDisallowed() { testRound.startRound(); - Hand hand = new Hand(gameSettings); + Hand hand = new Hand(); hand.drop(new Stone(1, RED), new Position(0, 0)); hand.drop(new Stone(1, BLACK), new Position(0, 0)); hand.drop(new Stone(1, BLUE), new Position(0, 0)); @@ -951,7 +951,7 @@ public class RoundControlTest { @Test public void testRedealAllowed() { testRound.startRound(); - Hand hand = new Hand(gameSettings); + Hand hand = new Hand(); for (int i = 0; i < 6; i++) { hand.drop(new Stone(i / 2, RED), new Position(0, 0)); } |