mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8272326: java/util/Random/RandomTestMoments.java had two Gaussian fails
Reviewed-by: rriggs, bpb
This commit is contained in:
parent
2ed7b709a1
commit
cf64c3e7e2
@ -224,7 +224,9 @@ public class RandomTestChiSquared {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
RandomGeneratorFactory.all().forEach(factory -> {
|
||||
RandomGeneratorFactory.all()
|
||||
.filter(f -> !f.name().equals("SecureRandom"))
|
||||
.forEach(factory -> {
|
||||
setRNG(factory.name());
|
||||
|
||||
if (factory.name().equals("Random")) {
|
||||
|
||||
@ -194,7 +194,8 @@ public class RandomTestMoments {
|
||||
|
||||
public static void main(String[] args) {
|
||||
RandomGeneratorFactory.all()
|
||||
.forEach(factory -> {
|
||||
.filter(f -> !f.name().equals("SecureRandom"))
|
||||
.forEach(factory -> {
|
||||
setRNG(factory.name());
|
||||
testOneRng(factory.create(325) );
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user