METHOD_0 ( ) { com . IDENT_0 . tools . IDENT_1 . LOG . info ( STRING_0 ) ; java . lang . String runtime = STRING_1 ; int expResult = INT_0 ; int result = com . IDENT_0 . tools . IDENT_2 . METHOD_1 ( runtime ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { if ( org . apache . commons . lang3 . StringUtils . METHOD_2 ( runtime ) ) { return - 1 ; } int IDENT_3 = ( ( int ) ( org . apache . commons . lang3 . math . IDENT_4 . METHOD_3 ( runtime , ( - FLOAT_0 ) ) ) ) ; if ( IDENT_3 < 0 ) { java . util . regex . IDENT_5 IDENT_6 = java . util . regex . IDENT_5 . METHOD_4 ( STRING_2 ) ; java . util . regex . IDENT_7 matcher = IDENT_6 . matcher ( runtime ) ; if ( matcher . find ( ) ) { int first = org . apache . commons . lang3 . math . IDENT_4 . METHOD_5 ( matcher . group ( 1 ) , ( - 1 ) ) ; java . lang . String IDENT_8 = matcher . group ( 2 ) ; int IDENT_9 = org . apache . commons . lang3 . math . IDENT_4 . METHOD_5 ( matcher . group ( 3 ) , ( - 1 ) ) ; if ( ( first > ( - 1 ) ) && ( IDENT_9 > ( - 1 ) ) ) { IDENT_3 = ( first > ( - 1 ) ? first * INT_1 : 0 ) + ( IDENT_9 > ( - 1 ) ? IDENT_9 : 0 ) ; } else if ( com . IDENT_0 . tools . IDENT_10 . METHOD_6 ( IDENT_8 ) ) { IDENT_3 = first ; } else if ( ( IDENT_9 > ( - 1 ) ) && ( com . IDENT_0 . tools . IDENT_10 . METHOD_7 ( IDENT_8 ) ) ) { if ( IDENT_8 . toLowerCase ( ) . contains ( STRING_3 ) ) { IDENT_3 = first * INT_1 ; } else { IDENT_3 = first ; } } } } return IDENT_3 ; }
org . junit . Assert . assertEquals ( expResult , result )