void function ( ) { for ( int loc0 = 0 ; loc0 < NUM_ELEMENTS ; loc0 ++ ) { assertTrue ( iter . hasNext ( ) ) ; assertEquals ( ( int ) iter . next ( ) , loc0 ) ; } assertFalse ( iter . hasNext ( ) ) ; }
tests that the iterator yields the elements in their default order . concode_field_sep int NUM_ELEMENTS concode_elem_sep RandomArrayIterator<Integer> iter concode_field_sep void testReset concode_elem_sep void setUp concode_elem_sep void testNoSuchElement concode_elem_sep void testReadonly