Fix: full controller refactor

This commit is contained in:
2026-06-14 13:00:36 +02:00
parent 85f2dd9208
commit b11027a251
20 changed files with 175 additions and 189 deletions
@@ -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());
}
@@ -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());
}