Пример #1
0
        public void GetWeatherNowTest()
        {
            WeatherWebRetrieverService webRetrieverService = new WeatherWebRetrieverService();

            webRetrieverService.GetWeatherDataNow("9000", "BE");//.CreateReport();
            Assert.IsNotNull(webRetrieverService.GetWeatherDataNow("9000", "BE"));
        }
Пример #2
0
        public void GetWeatherBulkNowTest()
        {
            WeatherWebRetrieverService webRetrieverService = new WeatherWebRetrieverService();

            WeatherStatics statics = webRetrieverService.GetWeatherBulkNow(CityRepo.Cities().Take(5).ToList(), "BE");

            //      statics.CreateReport();
            Assert.AreEqual(4, statics.AllWeatherDatas().Count);
        }