Added test and implementation for an inspection turn before the first
turn git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@273 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
157bd4f606
commit
a1c0cb89f6
7 changed files with 140 additions and 19 deletions
|
@ -22,8 +22,10 @@ public class MockRoundState implements IRoundState {
|
||||||
public GameSettings gameSettings;
|
public GameSettings gameSettings;
|
||||||
/** */
|
/** */
|
||||||
public IPlayer lastPlayer;
|
public IPlayer lastPlayer;
|
||||||
|
|
||||||
/** */
|
/** */
|
||||||
|
public int turnNumber;
|
||||||
|
/** */
|
||||||
|
|
||||||
public MockRoundState() {
|
public MockRoundState() {
|
||||||
table = new MockTable();
|
table = new MockTable();
|
||||||
players = new ArrayList<MockPlayer>();
|
players = new ArrayList<MockPlayer>();
|
||||||
|
@ -39,6 +41,7 @@ public class MockRoundState implements IRoundState {
|
||||||
gameHeap = new StoneHeap();
|
gameHeap = new StoneHeap();
|
||||||
gameSettings = new GameSettings();
|
gameSettings = new GameSettings();
|
||||||
gameSettings.setInitialMeldThreshold(30);
|
gameSettings.setInitialMeldThreshold(30);
|
||||||
|
turnNumber = -3;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -113,4 +116,13 @@ public class MockRoundState implements IRoundState {
|
||||||
}
|
}
|
||||||
return players.get(j);
|
return players.get(j);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getTurnNumber() {
|
||||||
|
return turnNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void nextTurn() {
|
||||||
|
turnNumber++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,7 @@ import jrummikub.util.Event1;
|
||||||
import jrummikub.util.Event2;
|
import jrummikub.util.Event2;
|
||||||
import jrummikub.util.IEvent1;
|
import jrummikub.util.IEvent1;
|
||||||
import jrummikub.util.IEvent2;
|
import jrummikub.util.IEvent2;
|
||||||
|
import jrummikub.util.MockEvent1;
|
||||||
import jrummikub.util.Pair;
|
import jrummikub.util.Pair;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -21,7 +22,7 @@ public class MockTablePanel implements ITablePanel {
|
||||||
/** */
|
/** */
|
||||||
public Event2<Stone, Boolean> rangeClickEvent = new Event2<Stone, Boolean>();
|
public Event2<Stone, Boolean> rangeClickEvent = new Event2<Stone, Boolean>();
|
||||||
/** */
|
/** */
|
||||||
public Event1<Position> clickEvent = new Event1<Position>();
|
public MockEvent1<Position> clickEvent = new MockEvent1<Position>();
|
||||||
/** */
|
/** */
|
||||||
public Event1<StoneSet> leftConnectorClickEvent = new Event1<StoneSet>();
|
public Event1<StoneSet> leftConnectorClickEvent = new Event1<StoneSet>();
|
||||||
/** */
|
/** */
|
||||||
|
|
|
@ -5,6 +5,7 @@ import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import jrummikub.model.GameState;
|
||||||
import jrummikub.model.Hand;
|
import jrummikub.model.Hand;
|
||||||
import jrummikub.model.IHand;
|
import jrummikub.model.IHand;
|
||||||
import jrummikub.model.IPlayer;
|
import jrummikub.model.IPlayer;
|
||||||
|
@ -87,7 +88,7 @@ public class RoundControl {
|
||||||
|
|
||||||
private void startTurn() {
|
private void startTurn() {
|
||||||
TurnControl turnControl = new TurnControl(roundState.getActivePlayer()
|
TurnControl turnControl = new TurnControl(roundState.getActivePlayer()
|
||||||
.getHand(), clonedTable, view);
|
.getHand(), clonedTable, view, roundState.getTurnNumber() < 1);
|
||||||
connections.add(turnControl.getEndOfTurnEvent().add(new IListener() {
|
connections.add(turnControl.getEndOfTurnEvent().add(new IListener() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -126,19 +127,24 @@ public class RoundControl {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void endOfTurn() {
|
private void endOfTurn() {
|
||||||
checkTurn();
|
if (roundState.getTurnNumber() >= 1) {
|
||||||
|
checkTurn();
|
||||||
|
}
|
||||||
|
|
||||||
if (roundState.getLastPlayer() == null) {
|
if (roundState.getLastPlayer() == null) {
|
||||||
if (roundState.getGameHeap().getSize() == 0) {
|
if (roundState.getGameHeap().getSize() == 0) {
|
||||||
roundState.setLastPlayer(roundState.getNthNextPlayer(-1));
|
roundState.setLastPlayer(roundState.getNthNextPlayer(-1));
|
||||||
|
roundState.nextTurn();
|
||||||
} else {
|
} else {
|
||||||
roundState.nextPlayer();
|
roundState.nextPlayer();
|
||||||
|
roundState.nextTurn();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (roundState.getActivePlayer() == roundState.getLastPlayer()) {
|
if (roundState.getActivePlayer() == roundState.getLastPlayer()) {
|
||||||
endOfRound();
|
endOfRound();
|
||||||
} else {
|
} else {
|
||||||
roundState.nextPlayer();
|
roundState.nextPlayer();
|
||||||
|
roundState.nextTurn();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!roundFinished) {
|
if (!roundFinished) {
|
||||||
|
|
|
@ -35,22 +35,27 @@ public class TurnControl {
|
||||||
|
|
||||||
private Event endOfTurnEvent = new Event();
|
private Event endOfTurnEvent = new Event();
|
||||||
private List<Connection> connections = new ArrayList<Connection>();
|
private List<Connection> connections = new ArrayList<Connection>();
|
||||||
|
|
||||||
|
private boolean inspectOnly;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new TurnControl using a given hand (of the active player), a given
|
* Create a new TurnControl using a given hand (of the active player), a
|
||||||
* table and a given view for user interaction.
|
* given table and a given view for user interaction.
|
||||||
*
|
*
|
||||||
* @param hand
|
* @param hand
|
||||||
* active player's hand
|
* active player's hand
|
||||||
* @param table
|
* @param table
|
||||||
* current table
|
* current table
|
||||||
* @param view
|
* @param view
|
||||||
* view for user interaction.
|
* view for user interaction.
|
||||||
|
* @param inspectOnly
|
||||||
|
* the current turn doesn't allow any table manipulation
|
||||||
*/
|
*/
|
||||||
public TurnControl(IHand hand, ITable table, IView view) {
|
public TurnControl(IHand hand, ITable table, IView view, boolean inspectOnly) {
|
||||||
this.hand = hand;
|
this.hand = hand;
|
||||||
this.table = table;
|
this.table = table;
|
||||||
this.view = view;
|
this.view = view;
|
||||||
|
this.inspectOnly = inspectOnly;
|
||||||
this.timer = new TurnTimer(view);
|
this.timer = new TurnTimer(view);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -60,6 +65,7 @@ public class TurnControl {
|
||||||
this.table = table;
|
this.table = table;
|
||||||
this.view = view;
|
this.view = view;
|
||||||
this.timer = testTimer;
|
this.timer = testTimer;
|
||||||
|
this.inspectOnly = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -80,7 +86,8 @@ public class TurnControl {
|
||||||
|
|
||||||
addHandPanelHandlers();
|
addHandPanelHandlers();
|
||||||
addStoneCollectionHandlers();
|
addStoneCollectionHandlers();
|
||||||
addTablePanelHandlers();
|
if (!inspectOnly)
|
||||||
|
addTablePanelHandlers();
|
||||||
|
|
||||||
connections.add(view.getPlayerPanel().getSortByGroupsEvent()
|
connections.add(view.getPlayerPanel().getSortByGroupsEvent()
|
||||||
.add(new IListener() {
|
.add(new IListener() {
|
||||||
|
@ -419,15 +426,12 @@ public class TurnControl {
|
||||||
table.drop(joinedSet, newPos);
|
table.drop(joinedSet, newPos);
|
||||||
} else {
|
} else {
|
||||||
StoneSet joinedSet = new StoneSet(selectedStones).join(newSet);
|
StoneSet joinedSet = new StoneSet(selectedStones).join(newSet);
|
||||||
table.drop(joinedSet,
|
table.drop(joinedSet, new Position(newPos.getX()
|
||||||
new Position(newPos.getX() - selectedStones.size(), newPos.getY()));
|
- selectedStones.size(), newPos.getY()));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
table.drop(
|
table.drop(new StoneSet(selectedStones), new Position(pos.getX()
|
||||||
new StoneSet(selectedStones),
|
+ (set.size() - selectedStones.size()) * 0.5f, pos.getY()));
|
||||||
new Position(
|
|
||||||
pos.getX() + (set.size() - selectedStones.size()) * 0.5f, pos
|
|
||||||
.getY()));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
selectedStones.clear();
|
selectedStones.clear();
|
||||||
|
@ -527,7 +531,8 @@ public class TurnControl {
|
||||||
static class HandStonePositionComparator implements
|
static class HandStonePositionComparator implements
|
||||||
Comparator<Pair<Stone, Position>> {
|
Comparator<Pair<Stone, Position>> {
|
||||||
@Override
|
@Override
|
||||||
public int compare(Pair<Stone, Position> pair1, Pair<Stone, Position> pair2) {
|
public int compare(Pair<Stone, Position> pair1,
|
||||||
|
Pair<Stone, Position> pair2) {
|
||||||
Position pos1 = pair1.getSecond(), pos2 = pair2.getSecond();
|
Position pos1 = pair1.getSecond(), pos2 = pair2.getSecond();
|
||||||
if (pos1.getY() < pos2.getY()) {
|
if (pos1.getY() < pos2.getY()) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
@ -94,4 +94,18 @@ public interface IRoundState {
|
||||||
*/
|
*/
|
||||||
public void setActivePlayerNumber(int i);
|
public void setActivePlayerNumber(int i);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the number of the current turn. Numbers smaller than one indicate
|
||||||
|
* hand inspection turns
|
||||||
|
*
|
||||||
|
* @return current turn number
|
||||||
|
*/
|
||||||
|
public abstract int getTurnNumber();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Increments the turn number
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public void nextTurn();
|
||||||
|
|
||||||
}
|
}
|
|
@ -12,6 +12,7 @@ public class RoundState implements IRoundState {
|
||||||
private int activePlayer;
|
private int activePlayer;
|
||||||
private StoneHeap gameHeap;
|
private StoneHeap gameHeap;
|
||||||
private IPlayer lastPlayer;
|
private IPlayer lastPlayer;
|
||||||
|
private int turnNumber;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new RoundState with an empty table
|
* Create a new RoundState with an empty table
|
||||||
|
@ -29,6 +30,8 @@ public class RoundState implements IRoundState {
|
||||||
players.add(new Player(playerSettings, gameSettings));
|
players.add(new Player(playerSettings, gameSettings));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
turnNumber = 1-gameSettings.getPlayerList().size();
|
||||||
|
|
||||||
activePlayer = 0;
|
activePlayer = 0;
|
||||||
gameHeap = new StoneHeap();
|
gameHeap = new StoneHeap();
|
||||||
}
|
}
|
||||||
|
@ -104,4 +107,14 @@ public class RoundState implements IRoundState {
|
||||||
public IPlayer getLastPlayer() {
|
public IPlayer getLastPlayer() {
|
||||||
return lastPlayer;
|
return lastPlayer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getTurnNumber() {
|
||||||
|
return turnNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void nextTurn() {
|
||||||
|
turnNumber++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -131,6 +131,10 @@ public class RoundControlTest {
|
||||||
@Test
|
@Test
|
||||||
public void laidOutValidTooFew() {
|
public void laidOutValidTooFew() {
|
||||||
roundControl.startRound();
|
roundControl.startRound();
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
view.startTurnEvent.emit();
|
||||||
|
view.playerPanel.endTurnEvent.emit();
|
||||||
|
}
|
||||||
view.startTurnEvent.emit();
|
view.startTurnEvent.emit();
|
||||||
|
|
||||||
Stone blueOne = new Stone(1, BLUE);
|
Stone blueOne = new Stone(1, BLUE);
|
||||||
|
@ -161,6 +165,10 @@ public class RoundControlTest {
|
||||||
@Test
|
@Test
|
||||||
public void laidOutValidUnchanged() {
|
public void laidOutValidUnchanged() {
|
||||||
roundControl.startRound();
|
roundControl.startRound();
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
view.startTurnEvent.emit();
|
||||||
|
view.playerPanel.endTurnEvent.emit();
|
||||||
|
}
|
||||||
view.startTurnEvent.emit();
|
view.startTurnEvent.emit();
|
||||||
|
|
||||||
IHand hand = roundState.getActivePlayer().getHand();
|
IHand hand = roundState.getActivePlayer().getHand();
|
||||||
|
@ -178,6 +186,10 @@ public class RoundControlTest {
|
||||||
@Test
|
@Test
|
||||||
public void laidOutInvalidEnough() {
|
public void laidOutInvalidEnough() {
|
||||||
roundControl.startRound();
|
roundControl.startRound();
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
view.startTurnEvent.emit();
|
||||||
|
view.playerPanel.endTurnEvent.emit();
|
||||||
|
}
|
||||||
view.startTurnEvent.emit();
|
view.startTurnEvent.emit();
|
||||||
|
|
||||||
Stone blueOne = new Stone(1, BLUE);
|
Stone blueOne = new Stone(1, BLUE);
|
||||||
|
@ -222,6 +234,10 @@ public class RoundControlTest {
|
||||||
@Test
|
@Test
|
||||||
public void laidOutTooFewChangedTable() {
|
public void laidOutTooFewChangedTable() {
|
||||||
roundControl.startRound();
|
roundControl.startRound();
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
view.startTurnEvent.emit();
|
||||||
|
view.playerPanel.endTurnEvent.emit();
|
||||||
|
}
|
||||||
view.startTurnEvent.emit();
|
view.startTurnEvent.emit();
|
||||||
// Fake Turn to put stones on the table
|
// Fake Turn to put stones on the table
|
||||||
Stone blueSeven = new Stone(7, BLUE);
|
Stone blueSeven = new Stone(7, BLUE);
|
||||||
|
@ -289,6 +305,10 @@ public class RoundControlTest {
|
||||||
@Test
|
@Test
|
||||||
public void laidOutEnoughChangedTable() {
|
public void laidOutEnoughChangedTable() {
|
||||||
roundControl.startRound();
|
roundControl.startRound();
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
view.startTurnEvent.emit();
|
||||||
|
view.playerPanel.endTurnEvent.emit();
|
||||||
|
}
|
||||||
view.startTurnEvent.emit();
|
view.startTurnEvent.emit();
|
||||||
// Fake Turn to put stones on the table
|
// Fake Turn to put stones on the table
|
||||||
Stone blueSeven = new Stone(7, BLUE);
|
Stone blueSeven = new Stone(7, BLUE);
|
||||||
|
@ -359,6 +379,10 @@ public class RoundControlTest {
|
||||||
@Test
|
@Test
|
||||||
public void laidOutJustChangedTable() {
|
public void laidOutJustChangedTable() {
|
||||||
roundControl.startRound();
|
roundControl.startRound();
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
view.startTurnEvent.emit();
|
||||||
|
view.playerPanel.endTurnEvent.emit();
|
||||||
|
}
|
||||||
view.startTurnEvent.emit();
|
view.startTurnEvent.emit();
|
||||||
// Fake Turn to put stones on the table
|
// Fake Turn to put stones on the table
|
||||||
Stone blueFour = new Stone(4, BLUE);
|
Stone blueFour = new Stone(4, BLUE);
|
||||||
|
@ -419,6 +443,10 @@ public class RoundControlTest {
|
||||||
@Test
|
@Test
|
||||||
public void laidOutValid() {
|
public void laidOutValid() {
|
||||||
roundControl.startRound();
|
roundControl.startRound();
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
view.startTurnEvent.emit();
|
||||||
|
view.playerPanel.endTurnEvent.emit();
|
||||||
|
}
|
||||||
view.startTurnEvent.emit();
|
view.startTurnEvent.emit();
|
||||||
// Fake Turn to put stones on the table
|
// Fake Turn to put stones on the table
|
||||||
Stone blueSeven = new Stone(7, BLUE);
|
Stone blueSeven = new Stone(7, BLUE);
|
||||||
|
@ -503,6 +531,10 @@ public class RoundControlTest {
|
||||||
public void testTableValidHandChanged() {
|
public void testTableValidHandChanged() {
|
||||||
testRoundState.players.get(0).setLaidOut(true);
|
testRoundState.players.get(0).setLaidOut(true);
|
||||||
testRound.startRound();
|
testRound.startRound();
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
view.startTurnEvent.emit();
|
||||||
|
view.playerPanel.endTurnEvent.emit();
|
||||||
|
}
|
||||||
MockTable oldTable = testRoundState.table;
|
MockTable oldTable = testRoundState.table;
|
||||||
testTable.valid = true;
|
testTable.valid = true;
|
||||||
oldTable.clonedTable = testTable;
|
oldTable.clonedTable = testTable;
|
||||||
|
@ -525,6 +557,10 @@ public class RoundControlTest {
|
||||||
@Test
|
@Test
|
||||||
public void testTableInvalidHandChanged() {
|
public void testTableInvalidHandChanged() {
|
||||||
testRound.startRound();
|
testRound.startRound();
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
view.startTurnEvent.emit();
|
||||||
|
view.playerPanel.endTurnEvent.emit();
|
||||||
|
}
|
||||||
MockTable oldTable = testRoundState.table;
|
MockTable oldTable = testRoundState.table;
|
||||||
testTable.valid = false;
|
testTable.valid = false;
|
||||||
oldTable.clonedTable = testTable;
|
oldTable.clonedTable = testTable;
|
||||||
|
@ -549,6 +585,10 @@ public class RoundControlTest {
|
||||||
public void testTableValidHandUnchanged() {
|
public void testTableValidHandUnchanged() {
|
||||||
testRoundState.players.get(0).setLaidOut(true);
|
testRoundState.players.get(0).setLaidOut(true);
|
||||||
testRound.startRound();
|
testRound.startRound();
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
view.startTurnEvent.emit();
|
||||||
|
view.playerPanel.endTurnEvent.emit();
|
||||||
|
}
|
||||||
MockTable oldTable = testRoundState.table;
|
MockTable oldTable = testRoundState.table;
|
||||||
testTable.valid = true;
|
testTable.valid = true;
|
||||||
oldTable.clonedTable = testTable;
|
oldTable.clonedTable = testTable;
|
||||||
|
@ -570,6 +610,10 @@ public class RoundControlTest {
|
||||||
public void testTableInvalidHandUnchanged() {
|
public void testTableInvalidHandUnchanged() {
|
||||||
testRoundState.players.get(1).setLaidOut(true);
|
testRoundState.players.get(1).setLaidOut(true);
|
||||||
testRound.startRound();
|
testRound.startRound();
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
view.startTurnEvent.emit();
|
||||||
|
view.playerPanel.endTurnEvent.emit();
|
||||||
|
}
|
||||||
MockTable oldTable = testRoundState.table;
|
MockTable oldTable = testRoundState.table;
|
||||||
testTable.valid = false;
|
testTable.valid = false;
|
||||||
oldTable.clonedTable = testTable;
|
oldTable.clonedTable = testTable;
|
||||||
|
@ -598,6 +642,10 @@ public class RoundControlTest {
|
||||||
});
|
});
|
||||||
|
|
||||||
testRound.startRound();
|
testRound.startRound();
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
view.startTurnEvent.emit();
|
||||||
|
view.playerPanel.endTurnEvent.emit();
|
||||||
|
}
|
||||||
MockTable oldTable = testRoundState.table;
|
MockTable oldTable = testRoundState.table;
|
||||||
testTable.valid = true;
|
testTable.valid = true;
|
||||||
oldTable.clonedTable = testTable;
|
oldTable.clonedTable = testTable;
|
||||||
|
@ -731,6 +779,10 @@ public class RoundControlTest {
|
||||||
roundState.getGameHeap().drawStones(106 - 14 * 4 - 1);
|
roundState.getGameHeap().drawStones(106 - 14 * 4 - 1);
|
||||||
|
|
||||||
roundControl.startRound();
|
roundControl.startRound();
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
view.startTurnEvent.emit();
|
||||||
|
view.playerPanel.endTurnEvent.emit();
|
||||||
|
}
|
||||||
|
|
||||||
IPlayer player1 = roundState.getActivePlayer();
|
IPlayer player1 = roundState.getActivePlayer();
|
||||||
|
|
||||||
|
@ -839,4 +891,22 @@ public class RoundControlTest {
|
||||||
assertEquals(-3, (int) roundScore.getPoints().get(2));
|
assertEquals(-3, (int) roundScore.getPoints().get(2));
|
||||||
assertEquals(-100, (int) roundScore.getPoints().get(3));
|
assertEquals(-100, (int) roundScore.getPoints().get(3));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** */
|
||||||
|
@Test
|
||||||
|
public void testInspectOnly() {
|
||||||
|
testRound.startRound();
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
view.startTurnEvent.emit();
|
||||||
|
assertTrue(view.tablePanel.clickEvent.listeners.isEmpty());
|
||||||
|
view.playerPanel.endTurnEvent.emit();
|
||||||
|
assertEquals(14, testRoundState.players.get(i).hand.getSize());
|
||||||
|
}
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
view.startTurnEvent.emit();
|
||||||
|
assertFalse(view.tablePanel.clickEvent.listeners.isEmpty());
|
||||||
|
view.playerPanel.endTurnEvent.emit();
|
||||||
|
assertFalse(14 == testRoundState.players.get(i).hand.getSize());
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue