public void TestTimeZoneLookup()
        {
            EarthToolsClient cli = new EarthToolsClient();
            var timezone = cli.TimeZones.Query(32, -110);

            Assert.IsNotNull(timezone);
            Assert.AreEqual(-7, timezone.Offset);
        }
        public void TestTimeZoneLookup()
        {
            EarthToolsClient cli = new EarthToolsClient();
            var timezone         = cli.TimeZones.Query(32, -110);

            Assert.IsNotNull(timezone);
            Assert.AreEqual(-7, timezone.Offset);
        }
        public void TestPlaceLookupSuccess()
        {
            EarthToolsClient cli = new EarthToolsClient();
            var place = cli.Places.Query("Tucson, AZ");
            Assert.IsNotNull(place);
            Assert.AreNotEqual(0, place.Count());

            var first = place.First();

            Assert.AreEqual("Tucson", first.Name);

            Assert.IsNotNull(place);
        }
        public void TestPlaceLookupSuccess()
        {
            EarthToolsClient cli = new EarthToolsClient();
            var place            = cli.Places.Query("Tucson, AZ");

            Assert.IsNotNull(place);
            Assert.AreNotEqual(0, place.Count());

            var first = place.First();

            Assert.AreEqual("Tucson", first.Name);

            Assert.IsNotNull(place);
        }
        public void TestFullLookup()
        {
            EarthToolsClient cli = new EarthToolsClient();

            string city   = "Tucson";
            string state  = "AZ";
            var    places = cli.Places.Query(city + ", " + state);

            Assert.IsNotNull(places);
            Assert.AreNotEqual(0, places.Count());

            var first = places.First();

            Assert.AreEqual(city, first.Name);

            var timezone = cli.TimeZones.Query(first.Latitude, first.Longitude);

            Assert.IsNotNull(timezone);
        }
        public void TestFullLookup()
        {
            EarthToolsClient cli = new EarthToolsClient();

            string city = "Tucson";
            string state = "AZ";
            var places = cli.Places.Query(city + ", " + state);

            Assert.IsNotNull(places);
            Assert.AreNotEqual(0, places.Count());

            var first = places.First();

            Assert.AreEqual(city, first.Name);

            var timezone = cli.TimeZones.Query(first.Latitude, first.Longitude);

            Assert.IsNotNull(timezone);
     


        }