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
This commit is contained in:
parent
d5a8b2204c
commit
8c3c66f361
9 changed files with 218 additions and 15 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue