@Test public void subList() { Interval interval = Interval.fromTo(1, 5); Assert.assertEquals(FastList.newListWith(2, 3), interval.subList(1, 3)); }