Example #1
0
        public void Shadow_Level_1_With_Flat_Life_Passives_Tests()
        {
            Character.Level = 1;

            var flat = 12.0;

            ExpectedLife += (int)flat;

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

            Assert.True(CalculateService.Life() == ExpectedLife);
        }
Example #2
0
        public void Shadow_Level_37_With_Flat_And_Increased_Life_Passives_Tests()
        {
            Character.Level = 37;

            var flat      = 12.0;
            var increased = 0.42;

            ExpectedLife = 711;

            Character.AddPassiveStat(Key.Life, Operand.Flat, flat);
            Character.AddPassiveStat(Key.Life, Operand.Increased, increased);

            Assert.True(CalculateService.Life() == ExpectedLife);
        }
Example #3
0
 public void Life_Equals_Expected()
 {
     Assert.True(CalculateService.Life() == ExpectedLife);
 }