Home
last modified time | relevance | path

Searched refs:tryIt (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/util/Random/
DRandomTestChiSquared.java152 static void tryIt(RandomGenerator rng, String kind, Function<String,BooleanSupplier> f) { in tryIt() method in RandomTestChiSquared
177tryIt(rng, "nextInt(" + N + ")", (String id) -> () -> testRngChiSquared(id, N, () -> rng.nextInt(N… in testOneRng()
178tryIt(rng, "nextInt(43, " + (N+43) + ")", (String id) -> () -> testRngChiSquared(id, N, () -> rng.… in testOneRng()
179tryIt(rng, "nextInt(-59, " + (N-59) + ")", (String id) -> () -> testRngChiSquared(id, N, () -> rng… in testOneRng()
183tryIt(rng, "nextLong(" + N + ")", (String id) -> () -> testRngChiSquared(id, N, () -> (int)(rng.ne… in testOneRng()
184tryIt(rng, "nextLong(43, " + (N+43) + ")", (String id) -> () -> testRngChiSquared(id, N, () -> (in… in testOneRng()
185tryIt(rng, "nextLong(-59, " + (N-59) + ")", (String id) -> () -> testRngChiSquared(id, N, () -> (i… in testOneRng()
189tryIt(rng, "nextFloat(" + N + ")", (String id) -> () -> testRngChiSquared(id, N, () -> (int)(rng.n… in testOneRng()
190tryIt(rng, "nextFloat(43, " + (N+43) + ")", (String id) -> () -> testRngChiSquared(id, N, () -> (i… in testOneRng()
191tryIt(rng, "nextFloat(-59, " + (N-59) + ")", (String id) -> () -> testRngChiSquared(id, N, () -> (… in testOneRng()
[all …]
DRandomTestBsi1999.java407 static void tryIt(RandomGenerator rng, String id, BooleanSupplier theSupplier) { in tryIt() method in RandomTestBsi1999
417tryIt(rng, "nextInt", () -> testRngBsi1999Int(name + " nextInt", rng::nextInt, failureTolerance)); in testOneRng()
418tryIt(rng, "nextLong", () -> testRngBsi1999Long(name + " nextLong", rng::nextLong, failureToleranc… in testOneRng()
419tryIt(rng, "nextBoolean", () -> testRngBsi1999Boolean(name + " nextBoolean", rng::nextBoolean, fai… in testOneRng()
420tryIt(rng, "ints", () -> testRngBsi1999Int(name + " ints", rng.ints().iterator()::next, failureTol… in testOneRng()
421tryIt(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()