METHOD_0 ( ) { logger . info ( STRING_0 ) ; com . IDENT_0 . framework . common . IDENT_1 . IDENT_2 IDENT_3 = new com . IDENT_0 . framework . common . IDENT_1 . METHOD_1 ( java . util . Arrays . asList ( new java . lang . Object [ ] { FLOAT_0 , FLOAT_1 , FLOAT_2 , FLOAT_3 } ) ) ; int n = 100 ; double IDENT_4 = FLOAT_4 ; boolean expResult = true ; boolean result = com . IDENT_0 . framework . core . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 . METHOD_2 ( IDENT_3 , n , IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( com . IDENT_0 . framework . common . IDENT_1 . METHOD_1 , int , double ) { int IDENT_9 = IDENT_3 . size ( ) ; if ( n <= IDENT_9 ) { throw new java . lang . IllegalArgumentException ( STRING_1 ) ; } double IDENT_10 = 0 ; int k = 1 ; java . util . Iterator < java . lang . Double > it = IDENT_3 . METHOD_3 ( ) ; while ( it . hasNext ( ) ) { java . lang . Double IDENT_11 = it . next ( ) ; IDENT_10 += ( IDENT_11 * IDENT_11 ) / ( n - k ) ; ++ k ; } IDENT_10 OP_0 n * ( n + 2 ) ; boolean IDENT_12 = com . IDENT_0 . framework . core . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 . METHOD_4 ( IDENT_10 , IDENT_9 , IDENT_4 ) ; return IDENT_12 ; }
org . junit . Assert . assertEquals ( expResult , result )