@Test public void testTwoVertical0() { List<Point> points = Arrays.asList(new Point(1, -4), new Point(1, 4)); List<Point> actual = ConvexHull.makeHull(points); List<Point> expect = points; assertEquals(expect, actual); }
public static List<Point> makeHull(List<Point> points) { List<Point> newPoints = new ArrayList<>(points); Collections.sort(newPoints); return makeHullPresorted(newPoints); }
ConvexHull { public static List<Point> makeHull(List<Point> points) { List<Point> newPoints = new ArrayList<>(points); Collections.sort(newPoints); return makeHullPresorted(newPoints); } }
ConvexHull { public static List<Point> makeHull(List<Point> points) { List<Point> newPoints = new ArrayList<>(points); Collections.sort(newPoints); return makeHullPresorted(newPoints); }  }
ConvexHull { public static List<Point> makeHull(List<Point> points) { List<Point> newPoints = new ArrayList<>(points); Collections.sort(newPoints); return makeHullPresorted(newPoints); }  static List<Point> makeHull(List<Point> points); static List<Point> makeHullPresorted(List<Point> points); }
ConvexHull { public static List<Point> makeHull(List<Point> points) { List<Point> newPoints = new ArrayList<>(points); Collections.sort(newPoints); return makeHullPresorted(newPoints); }  static List<Point> makeHull(List<Point> points); static List<Point> makeHullPresorted(List<Point> points);  }