METHOD_0 ( ) { for ( long n = 2 ; n < 100 ; n ++ ) for ( long r = 1 ; r < n ; r ++ ) { final long a = org . apache . hadoop . examples . IDENT_0 . math . IDENT_1 . METHOD_1 ( 0 , r , n ) ; final long b = ( ( long ) ( ( ( r * 1.0 ) / n ) * ( 1L << ( org . apache . hadoop . examples . IDENT_0 . math . IDENT_1 . IDENT_2 ) ) ) ) ; final java . lang . String s = java . lang . String . format ( STRING_0 , r , n , a , b ) ; "<AssertPlaceHolder>" ; } } METHOD_1 ( long , long , long ) { long q = 0 ; int i = ( org . apache . hadoop . examples . IDENT_0 . math . IDENT_1 . IDENT_2 ) - 1 ; for ( r OP_0 1 ; r < n ; r OP_0 1 ) i OP_1 ; for ( ; i >= 0 ; ) { r OP_2 n ; q OP_3 1L << i ; if ( r <= 0 ) break ; for ( ; r < n ; r OP_0 1 ) i OP_1 ; } IDENT_3 += q ; return IDENT_3 < ( org . apache . hadoop . examples . IDENT_0 . math . IDENT_1 . IDENT_4 ) ? IDENT_3 : IDENT_3 - ( org . apache . hadoop . examples . IDENT_0 . math . IDENT_1 . IDENT_4 ) ; }
org . junit . Assert . assertEquals ( s , b , a )