METHOD_0 ( ) { com . googlecode . IDENT_0 . IDENT_1 e = new com . googlecode . IDENT_0 . METHOD_1 ( ) ; int IDENT_2 = INT_0 ; for ( int i = 0 ; i < IDENT_2 ; ++ i ) { double IDENT_3 = i / ( ( double ) ( IDENT_2 / 2 ) ) ; if ( IDENT_3 > 1.0 ) IDENT_3 = 1.0 ; if ( ( java . lang . Math . random ( ) ) < IDENT_3 ) { e . set ( i ) ; } } com . googlecode . IDENT_0 . IDENT_4 IDENT_5 = new com . googlecode . IDENT_0 . METHOD_2 ( e . METHOD_3 ( ) ) ; int IDENT_6 = 0 ; while ( IDENT_5 . hasNext ( ) ) { ++ IDENT_6 ; IDENT_5 . next ( ) ; } "<AssertPlaceHolder>" ; System . out . println ( ( STRING_0 + ( e . METHOD_4 ( ) ) ) ) ; } METHOD_4 ( ) { int IDENT_7 = 0 ; final com . googlecode . IDENT_8 . IDENT_9 i = this . METHOD_5 ( ) ; while ( i . hasNext ( ) ) { com . googlecode . IDENT_8 . IDENT_10 IDENT_11 = i . next ( ) ; if ( IDENT_11 . METHOD_6 ( ) ) { IDENT_7 += ( com . googlecode . IDENT_8 . IDENT_12 . IDENT_13 ) * ( IDENT_11 . METHOD_7 ( ) ) ; } final int IDENT_14 = IDENT_11 . METHOD_8 ( ) ; final int IDENT_15 = i . METHOD_9 ( ) ; for ( int j = 0 ; j < IDENT_14 ; ++ j ) { IDENT_7 += java . lang . Integer . METHOD_10 ( i . buffer ( ) . METHOD_11 ( ( METHOD_9 + j ) ) ) ; } } return IDENT_7 ; }
org . junit . Assert . assertEquals ( e . METHOD_4 ( ) , IDENT_6 )