public void Shadow_Level_1_With_Flat_Mana_Passives_Tests() { Character.Level = 1; var flat = 10.0; ExpectedMana += (int)flat; ExpectedManaRegenerationPerSecond = 1.1; Character.AddPassiveStat(Key.Mana, Operand.Flat, flat); Assert.True(CalculateService.Mana() == ExpectedMana); Assert.True(CalculateService.ManaRegenerationPerSecond() == ExpectedManaRegenerationPerSecond); }
public void Shadow_Level_83_With_Flat_And_Increased_Mana_Regeneration_Per_Second_Passives_Tests() { Character.Level = 83; var flat = 15.0; var increased = 0.23; ExpectedManaRegenerationPerSecond = 12.0; Character.AddPassiveStat(Key.Mana, Operand.Flat, flat); Character.AddPassiveStat(Key.Mana, Operand.Increased, increased); Assert.True(CalculateService.ManaRegenerationPerSecond() == ExpectedManaRegenerationPerSecond); }
public void ManaRegenerationPerSecond_Equals_Expected() { Assert.True(CalculateService.ManaRegenerationPerSecond() == ExpectedManaRegenerationPerSecond); }