Assert.assertEquals(Arrays.asList(0, 2), Consumers.all(got));
}
@Test
public void canEvaluateSymmetricDifferenceBetweenThreeRanges() {
final Ranges<Integer> ranges = new Ranges<Integer>(new ComparableComparator<Integer>(), new NextIntegerSequencingPolicy(), 0);
final Range<Integer> first = ranges.closed(1, 2);
final Range<Integer> second = ranges.closed(0, 1);
final Range<Integer> third = ranges.closed(0, 1);
final Range<Integer> got = ranges.symmetricDifference(first, second, third);
Assert.assertEquals(Arrays.asList(1, 2), Consumers.all(got));