public void ShouldGetValueAttributeFromElectricModifier(ElectricModifier electricModifier, double expectedValue) { Assert.That(electricModifier.GetModifierValue(), Is.EqualTo(expectedValue)); }
public void ShouldGetExpectedHitlag(double damage, CrouchingModifier crouchModifier, ElectricModifier elecModifier, double hitlagMultiplier, int expectedResult) { var hitlagData = new HitlagProblemData { Damage = damage, CrouchingModifier = crouchModifier, ElectricModifier = elecModifier, HitlagMultiplier = hitlagMultiplier }; var result = _calculator.Hitlag(hitlagData); Assert.That(result, Is.EqualTo(expectedResult)); }