public void GeoCountryInfo_ByID()
        {
            var g2 = GeoCountryInfo.ByID(36);

            Assert.AreEqual("AU", g2.ISO2);

            var g3 = GeoCountryInfo.ByID(840);

            Assert.AreEqual("USA", g3.ISO3);
        }
        /// <summary>
        /// Lists all countries referenced across all GPX files
        /// </summary>
        public List <GeoCountryInfo> ListCountries()
        {
            var list = new List <GeoCountryInfo>();

            foreach (var id in _trails.All.Select(x => x.Country.CountryID).Distinct())
            {
                list.Add(GeoCountryInfo.ByID(id));
            }
            return(list);
        }
		public void GeoRegionInfo_CountryRegions()
		{
			var usa = GeoCountryInfo.ByID(840);
			Assert.AreEqual(51, usa.Regions.Count());
		}