public void Test_WebWeatherBit_GetTempDaysFromWeather_FoundData()
        {
            WebWeatherBit  oWeather = new WebWeatherBit();
            DayTemperature answer   = oWeather.GetHistoryTemps("Navojoa", "M");

            Assert.IsTrue(answer.date.Length > 0);
        }
        public void Test_WebWeatherBit_ConvertStringToJsonObject_WrongNoCity()
        {
            WebWeatherBit  oWeather = new WebWeatherBit();
            DayTemperature answer   = oWeather.GetHistoryTemps("guaymas", "M");

            Assert.AreNotEqual(0, answer.date.Length);
            ;
        }
        public DayTemperature GetListTemperatures(string cityName, string unitTemp)
        {
            WebWeatherBit oWeatherBit = new WebWeatherBit();

            return(oWeatherBit.GetHistoryTemps(cityName, unitTemp));
        }