public void Should_Return_Celcius_MultipleValues(string inputValue, double outputValue) { //Act var result = temperatureConverter.ConvertKelvinToCelsius(inputValue); //Assert Assert.Equal(outputValue, result); }
public void Should_Return_Celsius() { //Arrange TemperatureConverter temperatureConverter = new TemperatureConverter(); //Act var result = temperatureConverter.ConvertKelvinToCelsius("10"); //Assert Assert.Equal(-263.15, result); }