Fix: Building10Test Correctly Handles Buying Building Cards

This commit is contained in:
GabrieleRadice
2026-03-20 18:14:57 +01:00
parent e6922943d5
commit 9f3356e19d
@@ -16,7 +16,7 @@ class Building10Test {
void applyEffect() {
Building10 b10 = new Building10(1, 1);
Player p = new Player("test");
p.addPrestige(b10.getPrice());
p.addFood(b10.getPrice());
b10.buy(p);
int Era = 1;
@@ -44,8 +44,8 @@ class Building10Test {
p.hunters.addAll(Hunters);
p.inventors.addAll(Inventors);
p.shamans.addAll(Shamans);
b10.applyEffect(p);
b10.applyEffect(p);
assertEquals(Nset * 6, p.getFoodValue());
}