diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-06-19 19:46:06 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-06-19 19:46:06 +0200 |
commit | 45656861ab2e618938764f0c46f830184099a71d (patch) | |
tree | 8e5cd9ab28d47f242408d6dcfc29317902048605 /test/jrummikub/control/RoundControlTest.java | |
parent | 9b7aac51f58eb628978ed0e4d1a922a959917a3b (diff) | |
download | JRummikub-45656861ab2e618938764f0c46f830184099a71d.tar JRummikub-45656861ab2e618938764f0c46f830184099a71d.zip |
Added NetworkRoundControlTest and started NetworkRoundControl and NetworkTurnControl implementation
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@491 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub/control/RoundControlTest.java')
-rw-r--r-- | test/jrummikub/control/RoundControlTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/jrummikub/control/RoundControlTest.java b/test/jrummikub/control/RoundControlTest.java index 02eb3b8..d37a370 100644 --- a/test/jrummikub/control/RoundControlTest.java +++ b/test/jrummikub/control/RoundControlTest.java @@ -919,7 +919,7 @@ public class RoundControlTest { testRound.startRound(); Hand hand = new Hand(); for (int i = 0; i < 6; i++) { - hand.drop(new Stone(i / 2, RED), new Position(0, 0)); + hand.drop(new Stone(i / 2 + 1, RED), new Position(0, 0)); } testRoundState.players.get(0).hand = hand; testRound.clonedHand = (IHand) hand.clone(); @@ -929,6 +929,6 @@ public class RoundControlTest { view.playerPanel.endTurnEvent.emit(); view.startTurnEvent.emit(); } - assertEquals( TurnMode.NORMAL_TURN, view.playerPanel.turnMode); + assertEquals(TurnMode.NORMAL_TURN, view.playerPanel.turnMode); } } |