@Test
public void testGet() {

  FoldedTreeSet<Holder> set = new FoldedTreeSet<>();
  long[] longs = new long[43277];
  for (int i = 0; i < longs.length; i++) {
    Holder val = new Holder(srand.nextLong());
    while (set.contains(val)) {
      val = new Holder(srand.nextLong());
    }
    longs[i] = val.getId();
    set.add(val);
  }
  assertEquals(longs.length, set.size());
  for (long val : longs) {
    assertEquals(val, set.get(new Holder(val)).getId());
  }
}