### Question:
RangeFactory { public static Range createRange(int start, int size) { return new Range(start, size); } RangeFactory(); static Range createRange(int start, int size); static Range createAllRange(); static Range createHeadRange(int size); static Range createTailRange(int size); static Range getALL(); static Range getFIRST(); static Range getLAST(); static final Range ALL; static final Range FIRST; static final Range LAST; }### Answer:
@Test public void testCreateRange() { doCreateRangeTest(0, 0); doCreateRangeTest(0, 3); doCreateRangeTest(0, -4); doCreateRangeTest(-10, 0); doCreateRangeTest(-10, 5); doCreateRangeTest(-10, -9); }