Exemple #1
0
        public int GetRangedAttackStrengthOfCityTests(CityCombatLogicTestData testData)
        {
            SetupConfig(testData.Config);

            var city = BuildCity(testData.City);

            var combatLogic = Container.Resolve <CityCombatLogic>();

            return(combatLogic.GetRangedAttackStrengthOfCity(city));
        }
Exemple #2
0
        public int GetMaxHitpointsOfCityTests(CityCombatLogicTestData testData)
        {
            SetupConfig(testData.Config);

            var city = BuildCity(testData.City);

            var combatLogic = Container.Resolve <CityCombatLogic>();

            return(combatLogic.GetMaxHitpointsOfCity(city));
        }