public void CalSpeedTest_NumberText() { //Arrange var cal = new Speed(); //Act cal.CalSpeed("1000km", " 100h"); //Assert }
public void CalSpeedTest_NumberSpace() { //Arrange var cal = new Speed(); //Act var actual = cal.CalSpeed("1000 ", "100 "); var expected = 10; //Assert Assert.AreEqual(expected, actual, "Value's + Space"); }