METHOD_0 ( ) { java . lang . String expected = STRING_0 ; int [ ] array = new int [ ] { 3 , 2 , 1 } ; "<AssertPlaceHolder>" ; } METHOD_1 ( int [ ] ) { int size = array . length ; java . lang . StringBuilder output = new java . lang . StringBuilder ( ( size + "" ) ) ; java . util . Arrays . METHOD_2 ( array ) ; int min = array [ 0 ] ; for ( int i = 1 ; i < size ; i ++ ) { if ( ( array [ i ] ) > min ) { min = array [ i ] ; output . append ( ( "\n" + ( size - i ) ) ) ; } } return output . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , METHOD_1 . METHOD_1 ( array ) )