test of peek method , of class integerpriorityqueue . concode_field_sep IntegerPriorityQueue pq concode_field_sep void testPollEmptyPriorityQueue concode_elem_sep void testClear concode_elem_sep void testToArraySimple concode_elem_sep void testAddMultiple concode_elem_sep void testOffer concode_elem_sep void testOfferMultiple concode_elem_sep void testPeekEmptyPriorityQueue concode_elem_sep void testSizeEmptyPriorityQueue concode_elem_sep void testContains concode_elem_sep void testClearEmptyPriorityQueue concode_elem_sep void testPoll concode_elem_sep void testToArray concode_elem_sep void testToString concode_elem_sep void testSize concode_elem_sep void setUp concode_elem_sep void testAdd
void function ( ) { pq . add ( 1 ) ; pq . add ( 5 ) ; pq . add ( 10 ) ; pq . add ( 3 ) ; pq . add ( 0 ) ; pq . add ( 7 ) ; assertEquals ( new Integer ( 0 ) , pq . peek ( ) ) ; assertEquals ( 6 , pq . size ( ) ) ; }