public void GetCurrentSpeed_BigValue() { GetCurrentSpeed getCurrentSpeed = new GetCurrentSpeed(); var actual = getCurrentSpeed.Speed("5000", "50"); var expected = 100; Assert.AreEqual(expected, actual); }
public void GetCurrentSpeed_PositiveValue() { GetCurrentSpeed getCurrentSpeed = new GetCurrentSpeed(); var actual = getCurrentSpeed.Speed("5", "2"); var expected = 2; Assert.AreEqual(expected, actual); }
public void GetCurrentSpeed_Exception() { GetCurrentSpeed getCurrentSpeed = new GetCurrentSpeed(); getCurrentSpeed.Speed("0", "0"); }