METHOD_0 ( ) { int [ ] actual = new int [ ] { 3 , 5 , 5 , 5 , 3 , 7 , 7 , 3 , 5 , 5 , 7 , 3 , 3 } ; int [ ] expected = new int [ ] { 3 , 3 , 3 , 3 , 3 , 5 , 5 , 5 , 5 , 5 , 7 , 7 , 7 } ; com . baeldung . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( actual , 0 , ( ( actual . length ) - 1 ) ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( int [ ] , int , int ) { if ( end <= IDENT_3 ) return ; int i = IDENT_3 ; int IDENT_4 = IDENT_3 ; int IDENT_5 = end ; while ( i <= IDENT_5 ) { if ( ( a [ i ] ) < ( a [ IDENT_4 ] ) ) { int IDENT_6 = a [ i ] ; a [ i ] = a [ IDENT_4 ] ; a [ IDENT_4 ] = IDENT_6 ; i ++ ; IDENT_4 ++ ; } else if ( ( a [ IDENT_4 ] ) < ( a [ i ] ) ) { int IDENT_6 = a [ i ] ; a [ i ] = a [ IDENT_5 ] ; a [ IDENT_5 ] = IDENT_6 ; IDENT_5 OP_0 ; } else { i ++ ; } } com . baeldung . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( a , IDENT_3 , ( IDENT_4 - 1 ) ) ; com . baeldung . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( a , ( IDENT_5 + 1 ) , end ) ; }
org . junit . Assert . assertArrayEquals ( expected , actual )