public void Shadow_Level_37_With_Flat_And_Increased_Mana_Passives_Tests() { Character.Level = 37; var flat = 15.0; var increased = 0.23; ExpectedMana = 348; Character.AddPassiveStat(Key.Mana, Operand.Flat, flat); Character.AddPassiveStat(Key.Mana, Operand.Increased, increased); Assert.True(CalculateService.Mana() == ExpectedMana); }
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 Mana_Equals_Expected() { Assert.True(CalculateService.Mana() == ExpectedMana); }