public void testClosestPair_Example() {
// Boundary case - X coordinates are equal
ArrayList<Point> points = new ArrayList<Point>();
points.add(new Point(100, 100));
points.add(new Point(100, 102));
points.add(new Point(100, 103));
points.add(new Point(100, 105));
points.add(new Point(100, 107));
checkClosestPair(points);
// Boundary case - Y coordinates are equal
points = new ArrayList();
points.add(new Point(100, 100));
points.add(new Point(102, 100));
points.add(new Point(103, 100));
points.add(new Point(105, 100));
points.add(new Point(107, 100));
checkClosestPair(points);
}