### Question:
Range { public void add(LineColumn position) { if (position.isLesserThan(start)) { start = position; } else if (position.isGreaterThan(end)) { end = position; } } Range(); void add(LineColumn position); void add(Range... ranges); void add(Range range); boolean contains(LineColumn position); @Override Range clone();  }### Answer:
@Test void testAdd() { var lowRange = new Range(new LineColumn(0, 0), range.getEnd()); var highRange = new Range(range.getStart(), new LineColumn(6, 0)); range.add(lowRange, highRange); range.equals(new Range(lowRange.getStart(), highRange.getEnd())); }