METHOD_0 ( ) { int [ ] a = new int [ ] { INT_0 , 16 , INT_1 , 12 , INT_2 , 2 , 5 , INT_3 } ; new com . IDENT_0 . IDENT_1 . METHOD_1 ( ) . METHOD_2 ( a ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( int [ ] ) { if ( ( null == a ) || ( ( a . length ) < 2 ) ) { return ; } for ( int i = 0 ; i < ( a . length ) ; i ++ ) { int k = i ; for ( int j = i + 1 ; j < ( a . length ) ; j ++ ) { if ( ( a [ j ] ) < ( a [ k ] ) ) { k = j ; } } if ( k != i ) { int IDENT_2 = a [ k ] ; a [ k ] = a [ i ] ; a [ i ] = IDENT_2 ; } } }
org . junit . Assert . assertArrayEquals ( a , new int [ ] { 2 , 5 , 12 , 16 , INT_0 , INT_1 , INT_2 , INT_3 } )