@Test(invocationCount = 10)
public void addAll() {

	final Random random = new Random();
	final ParetoFront<Vec<double[]>> set = new ParetoFront<>(Vec::dominance);
	final List<Vec<double[]>> elements = IntStream.range(0, 500)
		.mapToObj(i -> circle(random))
		.collect(Collectors.toList());
	set.addAll(elements);
	Assert.assertEquals(
		new HashSet<>(set),
		new HashSet<>(Pareto.front(ISeq.of(elements)).asList())
	);
}