public void DensifyGeographyTest() { var geog = "LINESTRING(-5 0, 5 0)".GetGeog(); var expectedGeog = "LINESTRING (-5 0, -3 0, -1.0000000000000004 0, 0.99999999999999956 0, 2.9999999999999978 0, 5 0)".GetGeog(); Logger.LogLine("Input Geometry: {0}", geog); var result = Geography.DensifyGeography(geog, 2.0); Logger.LogLine("Expected result: {0}", expectedGeog); Logger.LogLine("Obtained result: {0}", result); SqlAssert.IsTrue(result.STEquals(expectedGeog)); }