@Test
public void maxOnlyRange() {

    Range r = new Range(-1,2);
    assertEquals("[a, b]", toS(r.apply(array)));
    assertEquals("[a, b]", toS(r.apply(list)));
    assertEquals("[a, b]", toS(r.apply(set)));
}