public void testEmptySubList(){
  final Range range=createRange(1,5);
  List subList=range.subList(0,0);
  assertEquals("wrong number of elements in sub list",0,subList.size());
  subList=range.subList(2,2);
  assertEquals("wrong number of elements in sub list",0,subList.size());
}

public void testEmptySubList ( ) { final Range range = createRange ( 1 , 5 ) ; List subList = range . subList ( 0 , 0 ) ; assertEquals ( "wrong number of elements in sub list" , 0 , subList . size ( ) ) ; subList = range . subList ( 2 , 2 ) ; assertEquals ( "wrong number of elements in sub list" , 0 , subList . size ( ) ) ; }
tests creating an empty sub list .
