コード例 #1
0
        public void Shadow_With_100_Flat_Intelligence_And_22_Flat_Energie_Shield_Passives_Tests()
        {
            // Level has no influence on energy shield

            Character.Level = 1;

            var flatIntelligence = 100.0;
            var flatEnergyShield = 22.0;

            ExpectedEnergieShield = 28;

            Character.AddPassiveStat(Key.Intelligence, Operand.Flat, flatIntelligence);
            Character.AddPassiveStat(Key.EnergyShield, Operand.Flat, flatEnergyShield);

            Assert.True(CalculateService.EnergieShield() == ExpectedEnergieShield);
        }
コード例 #2
0
 public void EnergieShield_Equals_Expected()
 {
     Assert.True(CalculateService.EnergieShield() == ExpectedEnergieShield);
 }