示例#1
0
        public void A1_GetDiffMaxMin()
        {
            WeatherDay weatherDay = new WeatherDay();

            weatherDay.Number  = 1;
            weatherDay.TempMax = 34.4;
            weatherDay.TempMin = 15.5;
            Assert.AreEqual(weatherDay.GetDiffMaxMin(), 18.9);
        }