Azavea.Open.Reprojection.Tests.ReprojectorTests.TestReprojectPAStatePlaneToWGS84OldSignature C# (CSharp) Method

TestReprojectPAStatePlaneToWGS84OldSignature() private method

private TestReprojectPAStatePlaneToWGS84OldSignature ( ) : void
return void
        public void TestReprojectPAStatePlaneToWGS84OldSignature()
        {
            Point reprojected = Reprojector.ReprojectPAStatePlaneToWGS84(_paStatePlanePoint.X, _paStatePlanePoint.Y);
            double diffX = Math.Abs(reprojected.X - _wgs84Point.X);
            double diffY = Math.Abs(reprojected.Y - _wgs84Point.Y);
            Assert.Less(diffX, _wgs84Accuracy, "Reprojection from PA State Plane to WGS84 was not accurate enough in the X dimension.");
            Assert.Less(diffY, _wgs84Accuracy, "Reprojection from PA State Plane to WGS84 was not accurate enough in the Y dimension.");
        }