run the double nextdouble method test due to leptokurtic property the acceptance range is widened . todo : verify that tolerance this wide is really ok concode_field_sep int sampleSize concode_elem_sep RandomGenerator rg concode_field_sep void testBetaRangeBelowMinusOne concode_elem_sep void testGaussianCase concode_elem_sep void testAlphaRangeBelowZero concode_elem_sep void testCauchyCase concode_elem_sep void testAlphaRangeAboveTwo concode_elem_sep void testBetaRangeAboveOne
void function ( ) { StableRandomGenerator loc0 = new StableRandomGenerator ( rg , 1.3 , 0.1 ) ; double [ ] loc1 = new double [ 2 * sampleSize ] ; for ( int loc2 = 0 ; loc2 < loc1 . length ; ++ loc2 ) { loc1 [ loc2 ] = loc0 . nextNormalizedDouble ( ) ; } Assert . assertEquals ( 0.0 , StatUtils . mean ( loc1 ) , 0.3 ) ; }