tests for larger beta distributions

This commit is contained in:
NunoSempere 2023-07-23 14:01:17 +02:00
parent 95afb7ea1a
commit b80b05ca30

View File

@ -212,6 +212,15 @@ int main(){
}
}
printf("Testing larger beta distributions\n");
for(int i=0; i<100; i++){
double a = sample_uniform(0, 1000 * 1000, seed);
double b = sample_uniform(0, 1000 * 1000, seed);
if ( (a > 0) && ( b >0)){
test_beta(a, b, seed);
}
}
free(seed);
}