METHOD_0 ( ) { int [ ] array = new int [ ] { 1 , 3 , INT_0 , 16 , INT_1 , 20 } ; int IDENT_0 = INT_0 ; int IDENT_1 = com . baeldung . array . IDENT_2 . METHOD_1 ( array ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( int [ ] ) { int IDENT_3 = array [ 0 ] ; int IDENT_4 = - 1 ; for ( int index = 0 ; index < ( array . length ) ; index ++ ) { if ( IDENT_3 <= ( array [ index ] ) ) { IDENT_4 = IDENT_3 ; IDENT_3 = array [ index ] ; } else if ( IDENT_4 < ( array [ index ] ) ) { IDENT_4 = array [ index ] ; } } return IDENT_4 ; }
org . junit . Assert . assertEquals ( IDENT_0 , IDENT_1 )