METHOD_0 ( ) { java . lang . String output = STRING_0 ; int [ ] actual = me . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_1 ( output ) ; int [ ] IDENT_4 = new int [ ] { 0 , 1 , 3 } ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { char [ ] output = IDENT_5 . METHOD_2 ( ) ; java . util . IDENT_6 < java . lang . Integer > IDENT_7 = new java . util . IDENT_6 < java . lang . Integer > ( ) ; int value = 0 ; int start = 0 ; boolean IDENT_8 = false ; for ( char ch : output ) { if ( ch == STRING_1 ) { if ( IDENT_8 ) { for ( ; start <= value ; start ++ ) { IDENT_7 . add ( start ) ; } IDENT_8 = false ; } else { IDENT_7 . add ( value ) ; } value = 0 ; } else if ( ch == STRING_2 ) { IDENT_8 = true ; start = value ; value = 0 ; } else { value = ( value * 10 ) + ( ch - STRING_3 ) ; } } if ( ( output [ ( ( output . length ) - 1 ) ] ) != STRING_1 ) { if ( IDENT_8 ) { for ( ; start <= value ; start ++ ) { IDENT_7 . add ( start ) ; } } else { IDENT_7 . add ( value ) ; } } int [ ] IDENT_9 = new int [ IDENT_7 . size ( ) ] ; int index = 0 ; for ( int IDENT_10 : IDENT_7 ) { IDENT_9 [ index ] = IDENT_10 ; index ++ ; } return IDENT_9 ; }
org . junit . Assert . assertArrayEquals ( actual , IDENT_4 )