test ( ) { "<AssertPlaceHolder>" ; } METHOD_0 ( int [ ] , int [ ] ) { if ( ( ( ( ( IDENT_0 == null ) || ( IDENT_1 == null ) ) || ( ( IDENT_0 . length ) == 0 ) ) || ( ( IDENT_1 . length ) == 0 ) ) || ( ( IDENT_0 . length ) != ( IDENT_1 . length ) ) ) { return - 1 ; } int length = IDENT_0 . length ; IDENT_0 = METHOD_1 ( IDENT_0 ) ; IDENT_1 = METHOD_1 ( IDENT_1 ) ; int start = 0 ; int IDENT_2 = 0 ; for ( int end = 1 ; end < ( IDENT_0 . length ) ; end ++ ) { IDENT_2 += ( IDENT_0 [ ( end - 1 ) ] ) - ( IDENT_1 [ ( end - 1 ) ] ) ; if ( IDENT_2 < 0 ) { start = end ; IDENT_2 = 0 ; } if ( ( end - start ) == length ) { return start ; } } return - 1 ; }
org . junit . Assert . assertEquals ( 0 , t . METHOD_0 ( new int [ ] { 5 } , new int [ ] { 4 } ) )