summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/control
diff options
context:
space:
mode:
authorBennet Gerlach <bennet_gerlach@web.de>2011-05-31 03:45:32 +0200
committerBennet Gerlach <bennet_gerlach@web.de>2011-05-31 03:45:32 +0200
commitd276b03c395e7c0e44740174168c0d98a8eaa06c (patch)
tree95642c255b484354769b7cb2ed4f9a65beb5a14e /test/jrummikub/control
parent278edc37a9861078d5ea1527695ef12766c0fb87 (diff)
downloadJRummikub-d276b03c395e7c0e44740174168c0d98a8eaa06c.tar
JRummikub-d276b03c395e7c0e44740174168c0d98a8eaa06c.zip
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
Diffstat (limited to 'test/jrummikub/control')
-rw-r--r--test/jrummikub/control/RoundControlTest.java10
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));
}