mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2026-01-21 08:46:41 -05:00
try to make the test_random uniformity test more robust
just increase the sample size.
This commit is contained in:
parent
c72b60fd6f
commit
eab2e1d33f
1 changed files with 1 additions and 1 deletions
|
|
@ -31,5 +31,5 @@ let uniformity_test ?(size_hint = 10) k rng st =
|
|||
|
||||
let () =
|
||||
let st = Random.State.make_self_init () in
|
||||
let ok = run ~st (uniformity_test 50_000 (split_list 10 ~len:3)) in
|
||||
let ok = run ~st (uniformity_test 500_000 (split_list 10 ~len:3)) in
|
||||
if not ok then failwith "uniformity check failed"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue