### Question:
MaxHitCalculator { public abstract double calculate(); MaxHitCalculator(Client client, CombatMethod combatMethod, Item[] equipedItems); abstract double getCurrentSkillPower(); double getMaxHit(); abstract double calculate(); void setBaseDamage(int baseDamage);  }### Answer:
@Test public void calculate() { testMaxHitConfig(MeleeMaxHitConfig.values()); testMaxHitConfig(RangeMaxHitConfig.values()); testMaxHitConfig(MagicMaxHitConfig.values()); }