StaticLongArrayPartition p = new StaticLongArrayPartition(indexStart, capacity);
assertEquals(indexStart, p.getIndexStart());
assertEquals(indexEnd, p.getIndexEnd());
assertEquals(capacity, p.capacity());
assertTrue(p.hasIndex(p.getIndexStart()));
assertFalse(p.hasIndex(p.getIndexStart() - 1));
assertTrue(p.hasIndex(p.getIndexEnd() - 1));