summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/control
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-05-24 21:57:18 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-05-24 21:57:18 +0200
commit8c3c66f361934e521ef7d00e9464cfc51875badc (patch)
tree4fc46e934555edd4f2a7011798dcc5a8f30abbfa /test/jrummikub/control
parentd5a8b2204c7b717e0b1f24fed0892091835356ed (diff)
downloadJRummikub-8c3c66f361934e521ef7d00e9464cfc51875badc.tar
JRummikub-8c3c66f361934e521ef7d00e9464cfc51875badc.zip
Implemented routine to check if initial melds are possible
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@266 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub/control')
-rw-r--r--test/jrummikub/control/RoundControlTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/jrummikub/control/RoundControlTest.java b/test/jrummikub/control/RoundControlTest.java
index 9894e35..2d316d8 100644
--- a/test/jrummikub/control/RoundControlTest.java
+++ b/test/jrummikub/control/RoundControlTest.java
@@ -332,6 +332,7 @@ public class RoundControlTest {
assertEquals(14 + 7, hand.getSize());
}
+ /** */
@Test
public void laidOutJustChangedTable() {
roundControl.startRound();
@@ -631,6 +632,7 @@ public class RoundControlTest {
assertTrue(stones.containsAll(expectedStones));
}
+ /** */
@Test
public void testTableSetDifference() {
ITable oldTable = new Table();
@@ -682,6 +684,7 @@ public class RoundControlTest {
assertEquals(1, newSets.size());
}
+ /** */
@Test
public void heapIsEmpty() {
roundState.getGameHeap().drawStones(106 - 14 * 4 - 1);