public void GetForecastsInRadial_InValid_Radial() { Action a = () => { _aviationWeather.GetForecastsInRadialAsync(0, 0, 0, 0).Wait(); }; a.Should().Throw <ArgumentOutOfRangeException>(); }
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); }