Changed:GameTest.hasDrawable()-> now only on character

This commit is contained in:
rubenpirreram
2026-05-01 18:44:40 +02:00
parent 215e75aac6
commit c91cbb3031
@@ -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