Fix: Building8Test
This commit is contained in:
@@ -57,13 +57,14 @@ class Building8Test {
|
||||
b8.applyEffect(p);
|
||||
|
||||
assertEquals(1, p.buildingCards.stream().filter(x -> x.getEffectId() == 8).count());
|
||||
assertEquals(PrestigeMul * 2 * p.buildingCards.stream().filter(x -> x.getEffectId() == 8).count(), p.getPrestigeValue());
|
||||
assertEquals(PrestigeMul* p.buildingCards.stream().filter(x -> x.getEffectId() == 8).count(), p.getPrestigeValue());
|
||||
|
||||
p.removePrestige(p.getPrestigeValue());
|
||||
Builder b2 = new Builder(Era, 1, PrestigeMul);
|
||||
p.builders.add(b2);
|
||||
b8.applyEffect(p);
|
||||
|
||||
assertEquals(2 + 4, p.getPrestigeValue());
|
||||
assertEquals(PrestigeMul * 2, p.getPrestigeValue());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user