示例#1
0
        public void GetCelsiusTemperature_GiveKelvin_GetRoundedCelsiusDouble()
        {
            string kelvin = "275";
            TemperatureConverter temperatureConverter = new TemperatureConverter();
            double result = temperatureConverter.GetCelsiusTemperature(kelvin);

            Assert.AreEqual(3, result);
        }