Fix: Building0Test, BuildingCardTest. Getter method tested

This commit is contained in:
2026-03-27 16:40:44 +01:00
parent 8e82a5aae4
commit ce1ec5b1cd
4 changed files with 176 additions and 2 deletions
@@ -47,8 +47,8 @@ public class Building0 extends BuildingCard {
numSet=player.getNType(type);
}
purchased = true;
}
@Override
public BuildingCard clone() {
return new Building0(getEra(),getPrice(),getPrestigeValue());
@@ -63,7 +63,7 @@ public class BuildingCard extends PlayableCard implements Cloneable , BuildingEf
this.effectType=EffectType.ON_EVENT;
break;
case 12:
this.effectType=EffectType.ON_ROUND_END;
this.effectType=EffectType.ON_ROUND_END;
break;
default:
throw new IllegalArgumentException();