예제 #1
0
 public void TestNormalizeMultiLineString()
 {
     MultiLineString actualValue = (MultiLineString)reader.Read(
           "MULTILINESTRING ((200 260, 180 320, 260 340), (120 180, 140 100, 40 80), (200 180, 220 160, 200 180), (100 280, 120 260, 140 260, 140 240, 120 240, 120 260, 100 280))");
     actualValue.Normalize();
     MultiLineString expectedValue = (MultiLineString)reader.Read(
           "MULTILINESTRING ((40 80, 140 100, 120 180), (100 280, 120 260, 120 240, 140 240, 140 260, 120 260, 100 280), (200 180, 220 160, 200 180), (200 260, 180 320, 260 340))");
     AssertAreEqualExact(expectedValue, actualValue);
 }