예제 #1
0
        public void GetStationInfoByStateOrProvince_InValid()
        {
            var request = _aviationWeather.GetStationInfoByStateOrProvinceAsync(new List <string>()
            {
                "99"
            });

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

            stations.Should().BeEmpty();
        }
예제 #2
0
        public void GetStationInfoByStateOrProvince_Valid()
        {
            var request = _aviationWeather.GetStationInfoByStateOrProvinceAsync(new List <string>()
            {
                "PA"
            });

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

            stations.Should().NotBeEmpty();

            stations.Count.Should().BeGreaterThan(10);
        }