void function ( ) { Random loc0 = new Random ( ) ; int loc1 = loc0 . nextInt ( ) ; int loc2 = 0 ; while ( loc2 < NCALLS && loc0 . nextInt ( ) == loc1 ) ++ loc2 ; assertTrue ( loc2 < NCALLS ) ; }
repeated calls to nextint produce at least two distinct results concode_field_sep long MAX_LONG_BOUND concode_elem_sep double FINITE concode_elem_sep int NCALLS concode_elem_sep int MAX_INT_BOUND concode_elem_sep int REPS concode_field_sep void testUnsizedLongsCountSeq concode_elem_sep void testNextIntBoundedNeg concode_elem_sep void testDoubleBadOriginBound concode_elem_sep void testUnsizedIntsCount concode_elem_sep void testNextBoolean concode_elem_sep void testNextFloat concode_elem_sep void testDoublesCount concode_elem_sep void testBadStreamBounds concode_elem_sep void testBoundedInts concode_elem_sep void testUnsizedIntsCountSeq concode_elem_sep void testBoundedLongs concode_elem_sep void testBadStreamSize concode_elem_sep void testIntsCount concode_elem_sep void testBoundedDoubles concode_elem_sep void executeAndCatch concode_elem_sep void testNextDouble concode_elem_sep void testNextGaussian concode_elem_sep void testUnsizedLongsCount concode_elem_sep void testNextLong concode_elem_sep void executeAndCatchIAE concode_elem_sep void testLongsCount concode_elem_sep void testUnsizedDoublesCount concode_elem_sep void testNextIntBounded concode_elem_sep void testUnsizedDoublesCountSeq