public void Calculator_ShouldCalculateTimeoutValue4000() { var target = new TimeoutValueCalculator(); var result = target.CalculateTimeoutValue(4000, 2000); result.ShouldBe(8000); }
public void Calculator_ShouldCalculateTimeoutValueNoExtra() { var target = new TimeoutValueCalculator(); var result = target.CalculateTimeoutValue(1000, 0); result.ShouldBe(1500); }
public void Calculator_ShouldCalculateTimeoutValueNoExtra(int baseTime, int extra, int expected) { var target = new TimeoutValueCalculator(extra); target.CalculateTimeoutValue(baseTime).ShouldBe(expected); }