Exemplo n.º 1
0
        public void getDailyForecast_Returns_Forecast_Is_Not_Empty()
        {
            Forecast result  = AccuWeatherLogic.getDailyForecast(apiToken, query);
            bool     isEmpty = result.DailyForecasts.Count > 0 ? false : true;

            Assert.IsFalse(isEmpty);
        }
Exemplo n.º 2
0
        public void getDailyForecast_Returns_Forecast()
        {
            Forecast result = AccuWeatherLogic.getDailyForecast(apiToken, query);


            Assert.IsNotNull(result);
        }