test ( ) { int [ ] IDENT_0 = new int [ ] { 4 , INT_0 , 2 } ; "<AssertPlaceHolder>" ; } METHOD_0 ( int [ ] ) { int len = IDENT_0 . length ; int [ ] IDENT_1 = new int [ INT_1 ] ; for ( int i = 0 ; i < len ; i ++ ) { for ( int j = 0 ; j < INT_1 ; j ++ ) { IDENT_1 [ j ] += ( ( IDENT_0 [ i ] ) > > j ) & 1 ; } } int IDENT_2 = 0 ; for ( int count : IDENT_1 ) { IDENT_2 += count * ( len - count ) ; } return IDENT_2 ; }
org . junit . Assert . assertThat ( METHOD_0 ( IDENT_0 ) , org . hamcrest . Matchers . is ( 6 ) )