METHOD_0 ( ) { org . openscience . cdk . IDENT_0 . IDENT_1 state = create ( 5 , 10 ) ; state . size = 2 ; state . IDENT_2 [ 0 ] = 1 ; state . IDENT_2 [ 1 ] = 0 ; state . IDENT_3 [ 4 ] = 1 ; "<AssertPlaceHolder>" ; } METHOD_1 ( int ) { if ( ( size ) == 0 ) return 0 ; for ( int i = n + 1 ; i < ( IDENT_4 . length ) ; i ++ ) if ( ( ( IDENT_2 [ i ] ) == ( org . openscience . cdk . IDENT_0 . IDENT_1 . IDENT_5 ) ) && ( ( IDENT_3 [ i ] ) > 0 ) ) return i ; for ( int i = n + 1 ; i < ( IDENT_4 . length ) ; i ++ ) if ( ( IDENT_2 [ i ] ) == ( org . openscience . cdk . IDENT_0 . IDENT_1 . IDENT_5 ) ) return i ; return METHOD_2 ( ) ; }
org . junit . Assert . assertThat ( state . METHOD_1 ( ( - 1 ) ) , org . hamcrest . CoreMatchers . is ( 4 ) )