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

TestReprojection() private method

private TestReprojection ( ) : void
return void
        public void TestReprojection()
        {
            GeocodeRequest gr = new GeocodeRequest();
            gr.TextString = "340 North 12th St, Philadelphia, PA";
            gr.CoordinateSystem = Reprojector.PAStatePlane;
            GeocodeResponse response = _googleGeocoder.Geocode(gr);
            Assert.Greater(response.Candidates.Count, 0);
            Assert.IsTrue(
                new Point(2694727, 238554).Buffer(200).Contains(
                    new Point(response.Candidates[0].Longitude, response.Candidates[0].Latitude)
                    )
                );
        }