From d276b03c395e7c0e44740174168c0d98a8eaa06c Mon Sep 17 00:00:00 2001 From: Bennet Gerlach Date: Tue, 31 May 2011 03:45:32 +0200 Subject: AIUtil now needs game settings, both hand and player do not anymore git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@342 72836036-5685-4462-b002-a69064685172 --- test/jrummikub/control/RoundControlTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/jrummikub/control') 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)); } -- cgit v1.2.3