예제 #1
0
        public void GetRoundedWind_NonRoundedFloat_RoundedValue(float temperature, string valid)
        {
            var wind = new Wind()
            {
                Speed = temperature
            };
            var cityWeather = new CityWeather()
            {
                Wind = wind
            };

            Assert.Equal(cityWeather.GetRoundedWind(), valid);
        }