METHOD_0 ( ) { org . hipparchus . IDENT_0 . IDENT_1 . IDENT_2 IDENT_1 = new org . hipparchus . IDENT_0 . IDENT_1 . METHOD_1 ( ) ; java . util . IDENT_3 random = new java . util . METHOD_2 ( 1 ) ; int n = 100 ; for ( int i = 0 ; i < n ; i ++ ) { IDENT_1 . METHOD_3 ( ( ( ( double ) ( i ) ) / ( n - 1 ) ) , random . METHOD_4 ( ) ) ; } "<AssertPlaceHolder>" ; } METHOD_5 ( ) { if ( ( n ) < 3 ) { return Double . IDENT_4 ; } org . hipparchus . IDENT_5 . IDENT_6 . IDENT_7 IDENT_5 = new org . hipparchus . IDENT_5 . IDENT_6 . METHOD_6 ( ( ( n ) - 2 ) ) ; return 2.0 * ( 1.0 - ( IDENT_5 . METHOD_7 ( ( ( org . hipparchus . util . IDENT_8 . METHOD_8 ( METHOD_9 ( ) ) ) / ( METHOD_10 ( ) ) ) ) ) ) ; }
org . junit . Assert . assertTrue ( ( ( 0.0 < ( IDENT_1 . METHOD_5 ( ) ) ) && ( ( IDENT_1 . METHOD_5 ( ) ) < 1.0 ) ) )