Azavea.Open.Geocoding.Google.Tests.GoogleTests.TestGoogleGeocoderAmpersandInAddress C# (CSharp) Method

TestGoogleGeocoderAmpersandInAddress() private method

private TestGoogleGeocoderAmpersandInAddress ( ) : void
return void
        public void TestGoogleGeocoderAmpersandInAddress()
        {
            GeocodeRequest gr = new GeocodeRequest();
            gr.TextString = "15th & Tasker Sts, Philadelphia, PA";
            GeocodeResponse gRes = _googleGeocoder.Geocode(gr);
            TestUtils.OutputGeocodeResponses(gRes);

            Assert.AreEqual(1, gRes.Candidates.Count);
            Assert.AreEqual("Tasker Street & South 15th Street, Philadelphia, PA 19146, USA", gRes.Candidates[0].StandardizedAddress, "Geocoder found wrong intersection");
        }