public void Ctor_should_throw_an_error_when_up_multiplier_is_incorrect(double value) { Action action = () => implementation = new AdaptiveHealthWithoutDecay(value, 0.5, 0.01); action.Should().Throw <ArgumentOutOfRangeException>().Which.ShouldBePrinted(); }
public void Ctor_should_throw_an_error_when_minimum_health_value_is_incorrect(double value) { Action action = () => implementation = new AdaptiveHealthWithoutDecay(2, 0.5, value); action.Should().Throw <ArgumentOutOfRangeException>().Which.ShouldBePrinted(); }
public void TestSetup() { implementation = new AdaptiveHealthWithoutDecay(2, 0.25, 0.002); }