/**
* Test {@link ComparableNumberPoint}, which is used for point cloud sampling.
*/
public void testComparableNumberPoints() {
ComparableNumberPoint simplePoint =
new ComparableNumberPoint(new Double[] { 1., 2. });
ComparableNumberPoint equalPoint =
new ComparableNumberPoint(new Double[] { 1., 2. });
ComparableNumberPoint unequalPoint1 =
new ComparableNumberPoint(new Integer[] { 1, 2 });
ComparableNumberPoint unequalPoint2 =
new ComparableNumberPoint(new Double[] { 2., 1. });
assertEquals(simplePoint, equalPoint);
assertFalse(simplePoint.equals(unequalPoint1));
assertFalse(simplePoint.equals(unequalPoint2));
}