### Question:
Range { public boolean sizeExceeds(long value) { if (isEmpty()){ return false; } if (isAll()){ return true; } return value < (end - start); } Range(long start, long end); GraphTraversal<? extends Element, ?> applyRange(GraphTraversal<? extends Element, ?> traversal); long difference(); boolean isEmpty(); boolean isAll(); @Override String toString(); boolean sizeExceeds(long value); static final Range ALL; }### Answer:
@Test public void shouldIndicateIfSizeBiggerThanSuupliedValue(){ assertTrue(new Range(0, -1).sizeExceeds(100)); assertTrue(new Range(0, 200).sizeExceeds(100)); assertFalse(new Range(0, 100).sizeExceeds(100)); assertFalse(new Range(0, 100).sizeExceeds(200)); assertFalse(new Range(-1, -1).sizeExceeds(1)); }