METHOD_0 ( ) { algorithm . IDENT_0 . IDENT_1 IDENT_2 = new algorithm . IDENT_0 . METHOD_1 ( ) ; java . util . IDENT_3 IDENT_4 = new java . util . METHOD_2 ( ) ; for ( int IDENT_5 = 0 ; IDENT_5 < 1000 ; ++ IDENT_5 ) { int [ ] arr = new int [ INT_0 ] ; for ( int i = 0 ; i < ( arr . length ) ; ++ i ) { arr [ i ] = IDENT_4 . METHOD_3 ( INT_0 ) ; } java . util . Arrays . METHOD_4 ( arr ) ; int target = IDENT_4 . METHOD_3 ( INT_0 ) ; int IDENT_6 = IDENT_2 . METHOD_5 ( arr , target ) ; int expected = java . util . Arrays . METHOD_5 ( arr , target ) ; "<AssertPlaceHolder>" ; } } METHOD_5 ( int [ ] , int ) { int start = 0 ; int end = ( IDENT_7 . length ) - 1 ; while ( start <= end ) { int IDENT_8 = ( start + end ) > > > 1 ; if ( ( IDENT_7 [ IDENT_8 ] ) < target ) { start = IDENT_8 + 1 ; } else if ( ( IDENT_7 [ IDENT_8 ] ) > target ) { end = IDENT_8 - 1 ; } else { return IDENT_8 ; } } return - ( start + 1 ) ; }
org . junit . Assert . assertEquals ( expected , IDENT_6 )