示例#1
0
        public void Shadow_Level_1_With_Flat_Dexterity_Passives_Tests()
        {
            Character.Level = 1;

            var flat = 30.0;

            ExpectedDexterity             += (int)flat;
            ExpectedEvasionRating          = 62;
            ExpectedMainHandAccuracyRating = 106;

            Character.AddPassiveStat(Key.Dexterity, Operand.Flat, flat);

            Assert.True(CalculateService.Dexterity() == ExpectedDexterity);
            Assert.True(CalculateService.EvasionRating() == ExpectedEvasionRating);
            Assert.True(CalculateService.MainHandAccuracyRating() == ExpectedMainHandAccuracyRating);
        }
示例#2
0
 public void Dexterity_Equals_Expected()
 {
     Assert.True(CalculateService.Dexterity() == ExpectedDexterity);
 }