METHOD_0 ( ) { int [ ] input = new int [ ] { 8 , INT_0 , INT_1 , INT_2 , 3 , INT_3 , 20 , INT_4 , INT_5 , 15 } ; int [ ] output = new int [ ] { 3 , 8 , INT_5 , 15 , 20 , INT_4 , INT_0 , INT_1 , INT_3 , INT_2 } ; IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new IDENT_0 . IDENT_1 . METHOD_1 ( ) ; int [ ] result = IDENT_3 . METHOD_2 ( input ) ; for ( int i = 0 ; i < ( input . length ) ; i ++ ) { "<AssertPlaceHolder>" ; } } METHOD_2 ( int [ ] ) { int IDENT_4 = 0 ; int IDENT_5 = 0 ; for ( int i = 1 ; i < ( input . length ) ; i ++ ) { IDENT_4 = i - 1 ; IDENT_5 = input [ i ] ; while ( ( IDENT_4 >= 0 ) && ( IDENT_5 < ( input [ IDENT_4 ] ) ) ) { int IDENT_6 = input [ ( IDENT_4 + 1 ) ] ; input [ ( IDENT_4 + 1 ) ] = input [ IDENT_4 ] ; input [ IDENT_4 ] = IDENT_6 ; IDENT_4 OP_0 ; } } return input ; }
org . junit . Assert . assertThat ( output [ i ] , org . hamcrest . CoreMatchers . is ( result [ i ] ) )