summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/control/RoundControlTest.java
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-09 00:33:34 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-09 00:33:34 +0200
commitb86571cf832ff13010798f3607eea6ad0ef039d0 (patch)
treed39b22dc07ad068083181d701a8d8aad95a10c85 /test/jrummikub/control/RoundControlTest.java
parentb9fbe279c3d6e750f7c90ad0b244d315c9744bb2 (diff)
downloadJRummikub-b86571cf832ff13010798f3607eea6ad0ef039d0.tar
JRummikub-b86571cf832ff13010798f3607eea6ad0ef039d0.zip
Allow laying out stone sets
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@180 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub/control/RoundControlTest.java')
-rw-r--r--test/jrummikub/control/RoundControlTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/jrummikub/control/RoundControlTest.java b/test/jrummikub/control/RoundControlTest.java
index 9569fbd..38060c0 100644
--- a/test/jrummikub/control/RoundControlTest.java
+++ b/test/jrummikub/control/RoundControlTest.java
@@ -136,7 +136,7 @@ public class RoundControlTest {
view.startTurnEvent.emit();
assertFalse(view.displayStartTurnPanel);
- Stone stone = testGameState.players.get(0).hand.stones.remove(0);
+ Stone stone = testGameState.players.get(0).hand.stones.remove(0).getFirst();
newTable.drop(new StoneSet(stone), new Position(0, 0));
resetTurnStart();
view.getPlayerPanel().endTurnEvent.emit();
@@ -194,7 +194,7 @@ public class RoundControlTest {
view.startTurnEvent.emit();
assertFalse(view.displayStartTurnPanel);
- Stone stone = testGameState.players.get(0).hand.stones.remove(0);
+ Stone stone = testGameState.players.get(0).hand.stones.remove(0).getFirst();
newTable.drop(new StoneSet(stone), new Position(0, 0));
testGameState.players.get(0).hand.stones.clear();
resetTurnStart();