@Test
/*
 * previous ranges contains current ranges
 */
public void getRemainsTest1() {

  TimeRange r = new TimeRange(1, 10);
  ArrayList<TimeRange> prevRanges = new ArrayList<>();
  prevRanges.add(new TimeRange(0, 10));
  ArrayList<TimeRange> remainRanges = new ArrayList<>(r.getRemains(prevRanges));
  assertEquals(0, remainRanges.size());
}