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