Azavea.Open.Geocoding.Google.Tests.GoogleTests.TestGoogleGeocoderAmpersandInAddress2 C# (CSharp) Метод

TestGoogleGeocoderAmpersandInAddress2() приватный Метод

private TestGoogleGeocoderAmpersandInAddress2 ( ) : void
Результат void
        public void TestGoogleGeocoderAmpersandInAddress2()
        {
            GeocodeRequest gr = new GeocodeRequest();
            gr.TextString = "21st & Cherry Sts, Philadelphia, PA";
            GeocodeResponse gRes = _googleGeocoder.Geocode(gr);
            TestUtils.OutputGeocodeResponses(gRes);

            Assert.AreEqual(1, gRes.Candidates.Count);
            Assert.AreEqual("North 21st Street & Cherry Street, Philadelphia, PA 19103, USA", gRes.Candidates[0].StandardizedAddress, "Geocoder found wrong intersection");
        }