public void TestNormalizeMultiPolygon() { MultiPolygon actualValue = (MultiPolygon)reader.Read( "MULTIPOLYGON (((40 360, 40 280, 140 280, 140 360, 40 360), (60 340, 60 300, 120 300, 120 340, 60 340)), ((140 200, 260 200, 260 100, 140 100, 140 200), (160 180, 240 180, 240 120, 160 120, 160 180)))"); actualValue.Normalize(); MultiPolygon expectedValue = (MultiPolygon)reader.Read( "MULTIPOLYGON (((40 280, 40 360, 140 360, 140 280, 40 280), (60 300, 120 300, 120 340, 60 340, 60 300)), ((140 100, 140 200, 260 200, 260 100, 140 100), (160 120, 240 120, 240 180, 160 180, 160 120)))"); AssertAreEqualExact(expectedValue, actualValue); }