METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . stream . IDENT_2 . IDENT_3 IDENT_4 = new com . IDENT_0 . IDENT_1 . stream . IDENT_2 . METHOD_1 ( 16 ) ; IDENT_4 . METHOD_2 ( 0 ) ; IDENT_4 . METHOD_2 ( 1 ) ; IDENT_4 . METHOD_2 ( 2 ) ; IDENT_4 . METHOD_2 ( 3 ) ; IDENT_4 . METHOD_2 ( 16 ) ; IDENT_4 . METHOD_2 ( INT_0 ) ; IDENT_4 . METHOD_2 ( INT_1 ) ; IDENT_4 . METHOD_2 ( INT_2 ) ; IDENT_4 . METHOD_2 ( INT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { double IDENT_5 = 0 ; int count = IDENT_6 . count ; double IDENT_7 = 0.0 ; for ( int j = 0 ; j < ( IDENT_6 . count ) ; j ++ ) { int val = IDENT_6 . get ( j ) ; IDENT_5 += 1.0 / ( 1 << val ) ; if ( val == 0 ) { IDENT_7 ++ ; } } double IDENT_8 = ( IDENT_9 ) * ( 1 / IDENT_5 ) ; if ( IDENT_8 <= ( ( FLOAT_0 / 2.0 ) * count ) ) { return java . lang . Math . METHOD_4 ( com . IDENT_0 . IDENT_1 . stream . METHOD_3 . METHOD_1 . METHOD_5 ( count , IDENT_7 ) ) ; } else { return java . lang . Math . METHOD_4 ( IDENT_8 ) ; } }
org . junit . Assert . assertEquals ( 8 , IDENT_4 . METHOD_3 ( ) )