Searched refs:tryIt (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/test/java/util/Random/ |
D | RandomTestChiSquared.java | 152 static void tryIt(RandomGenerator rng, String kind, Function<String,BooleanSupplier> f) { in tryIt() method in RandomTestChiSquared 177 …tryIt(rng, "nextInt(" + N + ")", (String id) -> () -> testRngChiSquared(id, N, () -> rng.nextInt(N… in testOneRng() 178 …tryIt(rng, "nextInt(43, " + (N+43) + ")", (String id) -> () -> testRngChiSquared(id, N, () -> rng.… in testOneRng() 179 …tryIt(rng, "nextInt(-59, " + (N-59) + ")", (String id) -> () -> testRngChiSquared(id, N, () -> rng… in testOneRng() 183 …tryIt(rng, "nextLong(" + N + ")", (String id) -> () -> testRngChiSquared(id, N, () -> (int)(rng.ne… in testOneRng() 184 …tryIt(rng, "nextLong(43, " + (N+43) + ")", (String id) -> () -> testRngChiSquared(id, N, () -> (in… in testOneRng() 185 …tryIt(rng, "nextLong(-59, " + (N-59) + ")", (String id) -> () -> testRngChiSquared(id, N, () -> (i… in testOneRng() 189 …tryIt(rng, "nextFloat(" + N + ")", (String id) -> () -> testRngChiSquared(id, N, () -> (int)(rng.n… in testOneRng() 190 …tryIt(rng, "nextFloat(43, " + (N+43) + ")", (String id) -> () -> testRngChiSquared(id, N, () -> (i… in testOneRng() 191 …tryIt(rng, "nextFloat(-59, " + (N-59) + ")", (String id) -> () -> testRngChiSquared(id, N, () -> (… in testOneRng() [all …]
|
D | RandomTestBsi1999.java | 407 static void tryIt(RandomGenerator rng, String id, BooleanSupplier theSupplier) { in tryIt() method in RandomTestBsi1999 417 … tryIt(rng, "nextInt", () -> testRngBsi1999Int(name + " nextInt", rng::nextInt, failureTolerance)); in testOneRng() 418 …tryIt(rng, "nextLong", () -> testRngBsi1999Long(name + " nextLong", rng::nextLong, failureToleranc… in testOneRng() 419 …tryIt(rng, "nextBoolean", () -> testRngBsi1999Boolean(name + " nextBoolean", rng::nextBoolean, fai… in testOneRng() 420 …tryIt(rng, "ints", () -> testRngBsi1999Int(name + " ints", rng.ints().iterator()::next, failureTol… in testOneRng() 421 …tryIt(rng, "longs", () -> testRngBsi1999Long(name + " longs", rng.longs().iterator()::next, failur… in testOneRng() 424 tryIt(rng, "doubles", in testOneRng() 429 tryIt(rng, "nextDouble", in testOneRng() 433 tryIt(rng, "nextFloat", in testOneRng()
|