METHOD_0 ( ) { int [ ] input = new int [ ] { 4 , 2 , 9 , 6 , INT_0 , 12 , INT_1 , 0 , 1 } ; METHOD_1 ( input , input . length ) ; int [ ] IDENT_0 = new int [ ] { 0 , 1 , 2 , 4 , 6 , 9 , 12 , INT_0 , INT_1 } ; "<AssertPlaceHolder>" ; } METHOD_1 ( int [ ] , int ) { if ( n <= 1 ) return ; for ( int i = 0 ; i < n ; ++ i ) { boolean IDENT_1 = false ; for ( int j = 0 ; j < ( ( n - i ) - 1 ) ; ++ j ) { if ( ( a [ j ] ) > ( a [ ( j + 1 ) ] ) ) { int IDENT_2 = a [ j ] ; a [ j ] = a [ ( j + 1 ) ] ; a [ ( j + 1 ) ] = IDENT_2 ; IDENT_1 = true ; } } if ( ! IDENT_1 ) break ; } }
org . junit . Assert . assertArrayEquals ( input , IDENT_0 )