public void WGS84ToGCJ02Test() { LatLngPoint _gcj02PointExpected = new LatLngPoint() { LatY = 34.119651841940737, LonX = 115.21780492356538 }; LatLngPoint _gcj02PointActual = WGSGCJLatLonHelper.WGS84ToGCJ02(new LatLngPoint() { LonX = 115.21212, LatY = 34.121 }); bool _expected = true; bool _actual = ModelHelper.CompletelyEqual(_gcj02PointExpected, _gcj02PointActual); Assert.AreEqual(_expected, _actual); }