METHOD_0 ( ) { int IDENT_0 = 5 ; int IDENT_1 = 16 ; int IDENT_2 = INT_0 ; com . IDENT_3 . IDENT_4 . stream . IDENT_2 . IDENT_5 [ ] IDENT_6 = new com . IDENT_3 . IDENT_4 . stream . IDENT_2 . IDENT_5 [ IDENT_0 ] ; com . IDENT_3 . IDENT_4 . stream . IDENT_2 . IDENT_5 IDENT_7 = new com . IDENT_3 . IDENT_4 . stream . IDENT_2 . METHOD_1 ( IDENT_1 ) ; for ( int i = 0 ; i < IDENT_0 ; i ++ ) { IDENT_6 [ i ] = new com . IDENT_3 . IDENT_4 . stream . IDENT_2 . METHOD_1 ( IDENT_1 ) ; for ( int j = 0 ; j < IDENT_2 ; j ++ ) { double val = java . lang . Math . random ( ) ; IDENT_6 [ i ] . METHOD_2 ( val ) ; IDENT_7 . METHOD_2 ( val ) ; } } com . IDENT_3 . IDENT_4 . stream . IDENT_2 . METHOD_1 IDENT_8 = IDENT_6 [ 0 ] ; IDENT_6 = java . util . Arrays . asList ( IDENT_6 ) . METHOD_3 ( 1 , IDENT_6 . length ) . toArray ( new com . IDENT_3 . IDENT_4 . stream . IDENT_2 . METHOD_1 [ 0 ] ) ; long IDENT_9 = IDENT_8 . METHOD_4 ( IDENT_6 ) . METHOD_5 ( ) ; long IDENT_10 = IDENT_7 . METHOD_5 ( ) ; System . out . println ( ( STRING_0 + IDENT_10 ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { double IDENT_11 = 0 ; int count = IDENT_12 . count ; double IDENT_13 = 0.0 ; for ( int j = 0 ; j < ( IDENT_12 . count ) ; j ++ ) { int val = IDENT_12 . get ( j ) ; IDENT_11 += 1.0 / ( 1 << val ) ; if ( val == 0 ) { IDENT_13 ++ ; } } double IDENT_14 = ( IDENT_15 ) * ( 1 / IDENT_11 ) ; if ( IDENT_14 <= ( ( FLOAT_0 / 2.0 ) * count ) ) { return java . lang . Math . METHOD_6 ( com . IDENT_3 . IDENT_4 . stream . METHOD_5 . IDENT_16 . METHOD_7 ( count , IDENT_13 ) ) ; } else { return java . lang . Math . METHOD_6 ( IDENT_14 ) ; } }
org . junit . Assert . assertEquals ( IDENT_9 , IDENT_10 )