METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( int , int ) { long f = METHOD_2 ( n ) ; if ( ( k < 1 ) || ( k > f ) ) { throw new java . lang . IllegalArgumentException ( ) ; } k OP_0 ; f OP_1 n ; java . util . List < java . lang . Integer > IDENT_0 = new java . util . IDENT_1 < java . lang . Integer > ( ) ; for ( int i = 1 ; i <= n ; i ++ ) { IDENT_0 . add ( i ) ; } java . lang . String output = "" ; for ( int i = n ; i > 1 ; i OP_0 ) { int IDENT_2 = ( ( int ) ( k / f ) ) ; output += IDENT_0 . get ( IDENT_2 ) ; IDENT_0 . remove ( IDENT_2 ) ; k = ( ( int ) ( k OP_2 f ) ) ; f OP_1 i - 1 ; } output += IDENT_0 . get ( 0 ) ; return output ; }
org . junit . Assert . assertEquals ( "1" , t . METHOD_1 ( 1 , 1 ) )