Fix: Building13Test Correctly Handles Buying Of Building Cards
This commit is contained in:
@@ -41,8 +41,9 @@ class Building13Test {
|
||||
Player p1 = new Player("gigi");
|
||||
p1.addPrestige(10);
|
||||
Building13 b1 = new Building13(1, 10);
|
||||
p1.addFood(b1.getPrice());
|
||||
b1.buy(p1);
|
||||
p1.buildingCards.add(b1);
|
||||
|
||||
b1.applyEffect(p1);
|
||||
assertEquals(35, p1.getPrestigeValue());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user