Changed:GameTest.hasDrawable()-> now only on character
This commit is contained in:
@@ -141,13 +141,11 @@ class GameTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean hasDrawableLower(Game game) {
|
private boolean hasDrawableLower(Game game) {
|
||||||
return firstNonEventIndexOrMinusOne(game.getLowerListTribeCards()) != -1
|
return firstNonEventIndexOrMinusOne(game.getLowerListTribeCards()) != -1;
|
||||||
|| !game.getLowerListBuilding().isEmpty();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean hasDrawableUpper(Game game) {
|
private boolean hasDrawableUpper(Game game) {
|
||||||
return firstNonEventIndexOrMinusOne(game.getUpperListTribeCards()) != -1
|
return firstNonEventIndexOrMinusOne(game.getUpperListTribeCards()) != -1;
|
||||||
|| !game.getUpperListBuilding().isEmpty();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user