public void GetSpeedNoInput() { GetCurrentSpeed getCurrentSpeed = new GetCurrentSpeed(); var expected = getCurrentSpeed.GetSpeed("0"); var actual = 0; Assert.AreEqual(expected, actual); }
public void GetSpeedNegativeNumber() { GetCurrentSpeed getCurrentSpeed = new GetCurrentSpeed(); var expected = getCurrentSpeed.GetSpeed("-6000"); var actual = -100; Assert.AreEqual(expected, actual); }