METHOD_0 ( ) { METHOD_1 ( ) ; java . lang . String message = STRING_0 ; double IDENT_0 = edu . IDENT_1 . IDENT_2 . util . IDENT_3 . METHOD_2 ( function , ( - 1.0 ) , 1.0 , INT_0 ) ; double IDENT_4 = FLOAT_0 ; "<AssertPlaceHolder>" ; } METHOD_2 ( edu . IDENT_1 . IDENT_2 . util . IDENT_5 , double , double , int ) { if ( f == null ) { throw new java . lang . IllegalArgumentException ( STRING_1 ) ; } if ( ! ( IDENT_6 <= IDENT_7 ) ) { throw new java . lang . IllegalArgumentException ( ( ( ( ( ( ( ( ( ( STRING_2 + STRING_3 ) + IDENT_6 ) + STRING_4 ) + IDENT_7 ) + STRING_5 ) + IDENT_6 ) + STRING_6 ) + IDENT_7 ) + STRING_7 ) ) ; } double IDENT_8 = IDENT_7 - IDENT_6 ; double IDENT_0 = 0.0 ; for ( int n = 0 ; n <= IDENT_9 ; n ++ ) { double IDENT_10 = IDENT_6 + ( ( ( ( double ) ( n ) ) / ( ( double ) ( IDENT_9 ) ) ) * IDENT_8 ) ; if ( n == 0 ) { IDENT_0 += f . METHOD_3 ( IDENT_6 ) ; } else if ( n == IDENT_9 ) { IDENT_0 += f . METHOD_3 ( IDENT_7 ) ; } else if ( ( n OP_0 2 ) == 1 ) { IDENT_0 += 4 * ( f . METHOD_3 ( IDENT_10 ) ) ; } else { IDENT_0 += 2 * ( f . METHOD_3 ( IDENT_10 ) ) ; } } IDENT_0 OP_1 IDENT_8 / ( FLOAT_1 * IDENT_9 ) ; return IDENT_0 ; }
org . junit . Assert . assertEquals ( message , 1.0 , IDENT_0 , IDENT_4 )