void function ( ) { CircularBuffer < String > loc0 = new CircularBuffer < String > ( 10 ) ; assertEquals ( loc0 . getSize ( ) , 10 , "srini_string" ) ; for ( int loc1 = 0 ; loc1 <= 11 ; loc1 ++ ) { loc0 . append ( "srini_string" + loc1 ) ; } assertEquals ( loc0 . get ( 8 ) . size ( ) , 8 , "srini_string" ) ; }
test returning no . of items remaining to the right of startindex is greater than the amount to be retrieved concode_field_sep int MAX_ALLOWED_SIZE concode_field_sep void testAppendNullElement concode_elem_sep void testClear concode_elem_sep void testGetObjects concode_elem_sep void testGetMoreThanBufferCapacity3 concode_elem_sep void testGetMoreThanBufferCapacity2 concode_elem_sep void testAppend concode_elem_sep void testGetMoreThanBufferCapacity1 concode_elem_sep void testInitializingMaximumSizedBuffer concode_elem_sep void testGetEqualToBufferCapacity1 concode_elem_sep void testGetEqualToBufferCapacity2 concode_elem_sep void testGetNegativeAmount concode_elem_sep void testOrderOfItems concode_elem_sep void testIllegalArgumentExceptionSizeGreaterThanMaxAllowed concode_elem_sep void testGetLessThanBufferCapacity3 concode_elem_sep void testIllegalArgumentExceptionFromSizeZero concode_elem_sep void testGetLessThanBufferCapacity2 concode_elem_sep void testGetLessThanBufferCapacity1 concode_elem_sep void testGetLessThanBufferCapacity7 concode_elem_sep void testGetLessThanBufferCapacity6 concode_elem_sep void testGetLessThanBufferCapacity5