Fix: Building11Test

This commit is contained in:
2026-03-20 18:47:44 +01:00
parent 3e23bf1616
commit 6f8a060254
@@ -50,5 +50,13 @@ class Building11Test {
b3.buy(p1);
p2.addFood(b3.getPrice());
assertEquals(false, b3.buy(p2));
Building11 b4 = new Building11(3, 10, ARTIST, 4);
assertThrows(IllegalArgumentException.class, () -> {
b4.applyEffect(p1);
});
}
}