METHOD_0 ( ) { java . io . File IDENT_0 = new java . io . File ( IDENT_1 . IDENT_2 . util . IDENT_3 . class . getResource ( STRING_0 ) . METHOD_1 ( ) ) ; int fail = 0 ; for ( java . io . File f : IDENT_0 . METHOD_2 ( ) ) { System . out . println ( ( STRING_1 + ( f . getName ( ) ) ) ) ; java . awt . image . IDENT_4 IDENT_5 = javax . IDENT_6 . IDENT_7 . read ( f ) ; boolean IDENT_8 = IDENT_1 . IDENT_2 . util . IDENT_9 . METHOD_3 ( IDENT_5 ) ; boolean IDENT_10 = f . getName ( ) . startsWith ( STRING_2 ) ; try { "<AssertPlaceHolder>" ; } catch ( java . lang . IDENT_11 e ) { fail ++ ; System . out . println ( ( ( ( e . getMessage ( ) ) + STRING_3 ) + ( f . getName ( ) ) ) ) ; } } System . out . println ( ( STRING_4 + ( 1 - ( ( ( float ) ( fail ) ) / ( IDENT_0 . METHOD_2 ( ) . length ) ) ) ) ) ; } METHOD_3 ( java . awt . image . IDENT_4 ) { IDENT_1 . IDENT_2 . util . IDENT_12 IDENT_13 = null ; java . util . stream . IDENT_14 < IDENT_1 . IDENT_2 . util . Path > IDENT_15 = null ; try { java . net . URI uri = IDENT_1 . IDENT_2 . util . IDENT_9 . class . getResource ( STRING_5 ) . METHOD_4 ( ) ; IDENT_1 . IDENT_2 . util . Path IDENT_16 ; if ( uri . METHOD_5 ( ) . equals ( STRING_6 ) ) { IDENT_13 = IDENT_1 . IDENT_2 . util . IDENT_17 . METHOD_6 ( uri , IDENT_1 . IDENT_2 . util . Collections . METHOD_7 ( ) ) ; IDENT_16 = IDENT_13 . getPath ( STRING_5 ) ; } else { IDENT_16 = IDENT_1 . IDENT_2 . util . IDENT_18 . get ( uri ) ; } IDENT_15 = IDENT_1 . IDENT_2 . util . IDENT_19 . METHOD_8 ( IDENT_16 , 1 ) ; java . util . List < IDENT_1 . IDENT_2 . util . IDENT_20 > IDENT_21 = new IDENT_1 . IDENT_2 . util . ArrayList ( ) ; int IDENT_22 = 0 ; for ( IDENT_1 . IDENT_2 . util . Iterator < IDENT_1 . IDENT_2 . util . Path > it = METHOD_8 . iterator ( ) ; it . hasNext ( ) ; ) { IDENT_1 . IDENT_2 . util . Path next = it . next ( ) ; if ( ( ( IDENT_1 . IDENT_2 . util . IDENT_19 . METHOD_9 ( next ) ) || ( IDENT_1 . IDENT_2 . util . IDENT_19 . METHOD_10 ( next ) ) ) || ( ! ( next . toString ( ) . METHOD_11 ( STRING_7 ) ) ) ) { continue ; } java . awt . image . IDENT_4 IDENT_23 = javax . IDENT_6 . IDENT_7 . read ( IDENT_1 . IDENT_2 . util . IDENT_19 . METHOD_12 ( next , IDENT_24 . IDENT_25 ) ) ; if ( IDENT_23 == null ) { continue ; } java . util . List < org . IDENT_26 . core . search . IDENT_27 > IDENT_28 = org . IDENT_26 . core . search . algorithm . IDENT_29 . METHOD_13 ( image , IDENT_23 , 7 , FLOAT_0 ) ; int c = 0 ; IDENT_30 : for ( org . IDENT_26 . core . search . IDENT_27 i : IDENT_28 ) { if ( ! ( IDENT_1 . IDENT_2 . util . IDENT_9 . IDENT_31 . contains ( i . x , i . y ) ) ) { continue ; } for ( IDENT_1 . IDENT_2 . util . IDENT_20 r : IDENT_21 ) { if ( r . METHOD_14 ( i . METHOD_15 ( ) ) ) { break IDENT_30 ; } } c ++ ; IDENT_21 . add ( i . METHOD_15 ( ) ) ; if ( next . METHOD_16 ( ) . toString ( ) . startsWith ( STRING_8 ) ) { IDENT_22 OP_0 ; } else if ( next . METHOD_16 ( ) . toString ( ) . startsWith ( STRING_9 ) ) { IDENT_22 ++ ; } IDENT_1 . IDENT_2 . util . IDENT_9 . logger . METHOD_17 ( ( ( ( STRING_10 + ( i . METHOD_15 ( ) ) ) + STRING_11 ) + ( i . METHOD_18 ( ) ) ) ) ; } if ( c > 0 ) { IDENT_1 . IDENT_2 . util . IDENT_9 . logger . METHOD_17 ( java . lang . String . format ( STRING_12 , c , next . METHOD_16 ( ) . toString ( ) ) ) ; } } boolean result = IDENT_22 >= 0 ; if ( result == false ) { IDENT_1 . IDENT_2 . util . IDENT_9 . logger . info ( STRING_13 ) ; } return result ; } catch ( java . lang . Exception e ) { throw new IDENT_1 . IDENT_2 . exception . METHOD_19 ( e . getMessage ( ) , e ) ; } finally { if ( IDENT_13 != null ) { try { IDENT_13 . close ( ) ; } catch ( java . io . IOException e ) { IDENT_1 . IDENT_2 . util . IDENT_9 . logger . log ( IDENT_32 . IDENT_33 , e . getMessage ( ) , e ) ; } } if ( METHOD_8 != null ) { METHOD_8 . close ( ) ; } } }
org . junit . Assert . assertEquals ( IDENT_10 , IDENT_8 )