Fix: CavePaintgsTest
This commit is contained in:
+14
-3
@@ -16,7 +16,7 @@ class CavePaintingsTest {
|
||||
Player p1 = new Player("Marco");
|
||||
|
||||
ArrayList<Player> players = new ArrayList<>(Arrays.asList(p1));
|
||||
CavePaintings cp1 = new CavePaintings(1, 2, 1, 3, 2);
|
||||
CavePaintings cp1 = new CavePaintings(1, 1, 3, 2);
|
||||
cp1.activateEvent(players);
|
||||
|
||||
assertEquals(-3, p1.getPrestigeValue());
|
||||
@@ -26,10 +26,21 @@ class CavePaintingsTest {
|
||||
new Artist(1).insert(p1);
|
||||
|
||||
|
||||
CavePaintings cp2 = new CavePaintings(1, 2, 1, 3, 2);
|
||||
CavePaintings cp2 = new CavePaintings(1, 1, 3, 2);
|
||||
cp2.activateEvent(players);
|
||||
|
||||
assertEquals(-6, p1.getPrestigeValue());
|
||||
assertEquals(-1, p1.getPrestigeValue());
|
||||
assertEquals(0, p1.getFoodValue());
|
||||
|
||||
|
||||
|
||||
new Artist(1).insert(p1);
|
||||
|
||||
|
||||
CavePaintings cp3 = new CavePaintings(1, 1, 3, 5);
|
||||
cp3.activateEvent(players);
|
||||
|
||||
assertEquals(9, p1.getPrestigeValue());
|
||||
assertEquals(0, p1.getFoodValue());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user