METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; int [ ] expected = new int [ ] { STRING_1 . length ( ) , STRING_2 . length ( ) } ; int [ ] actual = org . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_1 ( IDENT_0 , 0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , int ) { int start = - 1 ; int end = - 1 ; int IDENT_7 = - 1 ; for ( int i = offset ; ( i < ( IDENT_0 . length ( ) ) ) && ( end == ( - 1 ) ) ; i ++ ) { int ch = IDENT_0 . charAt ( i ) ; if ( IDENT_7 == ( - 1 ) ) { switch ( ch ) { case STRING_3 : case STRING_4 : start = i ; IDENT_7 = ch ; } } else if ( ch == IDENT_7 ) { start = i ; } else if ( ch == ( IDENT_7 + 2 ) ) { end = i + 1 ; } } int [ ] result = new int [ ] { start , end } ; return result ; }
org . junit . Assert . assertArrayEquals ( expected , actual )