Exemple #1
0
 public void TestNormalizeMultiPoint()
 {
     MultiPoint m = (MultiPoint)reader.Read(
             "MULTIPOINT(30 20, 10 10, 20 20, 30 30, 20 10)");
     m.Normalize();
     MultiPoint expectedValue = (MultiPoint)reader.Read(
             "MULTIPOINT(10 10, 20 10, 20 20, 30 20, 30 30)");
     AssertAreEqualExact(expectedValue, m);
     MultiPoint unexpectedValue = (MultiPoint)reader.Read(
             "MULTIPOINT(20 10, 20 20, 30 20, 30 30, 10 10)");
     Assert.IsTrue(!m.EqualsExact(unexpectedValue));
 }