public void GetForecastsInRadial_InValid_Radial()
        {
            Action a = () =>
            {
                _aviationWeather.GetForecastsInRadialAsync(0, 0, 0, 0).Wait();
            };

            a.Should().Throw <ArgumentOutOfRangeException>();
        }
Пример #2
0
        public void GetForecastsInRadial_Valid()
        {
            var request = _aviationWeather.GetForecastsInRadialAsync(25, 65, 50, 3);

            request.Wait();
            var forecasts = request.Result;

            forecasts.Should().NotBeNull();
            forecasts.Count.Should().NotBe(0);
        }