public void GetStationsInBox_Valid() { var request = _aviationWeather.GetStationsInBoxAsync(25, -130, 65, -40); request.Wait(); var stations = request.Result; stations.Should().NotBeEmpty(); stations.Count.Should().BeGreaterOrEqualTo(2); }
public void GetStationsInBoxAsync_InValid_One_MinLat() { Action a = () => { _aviationWeather.GetStationsInBoxAsync(-91, 0, 0, 0).Wait(); }; a.Should().Throw <ArgumentOutOfRangeException>(); }