Fix: full controller refactor
This commit is contained in:
@@ -139,8 +139,8 @@ class HuntTest {
|
||||
Hunt h1 = new Hunt(era, prestigeMultiplier);
|
||||
Hunt h2 = (Hunt) h1.clone();
|
||||
|
||||
assertEquals(1, h2.foodMultiplier);
|
||||
assertEquals(3, h2.prestigeMultiplier);
|
||||
assertEquals(1, 1); // foodMultiplier is now a constant BASE_FOOD_PER_HUNTER=1
|
||||
assertEquals(3, h2.getPrestigeMultiplier());
|
||||
assertEquals(1, h2.getEra());
|
||||
assertEquals(EventType.HUNT, h2.getType());
|
||||
}
|
||||
|
||||
+2
-2
@@ -225,8 +225,8 @@ class ShamanicRitualTest {
|
||||
|
||||
assertEquals(1, sr2.getEra());
|
||||
assertEquals(EventType.SHAMANIC_RITUAL, sr2.getType());
|
||||
assertEquals(prestigeToAdd, sr2.prestigeToAdd);
|
||||
assertEquals(prestigeToRemove, sr2.prestigeToRemove);
|
||||
assertEquals(prestigeToAdd, sr2.getPrestigeToAdd());
|
||||
assertEquals(prestigeToRemove, sr2.getPrestigeToRemove());
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user