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); }
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); }
public void Life_Equals_Expected() { Assert.True(CalculateService.Life() == ExpectedLife); }