ocaml-containers/tests
Glen Mével 78e67a9f4a tests/CCHeap: improve existing tests
- label all tests
- decouple tests about different heap functions
- random instances now have better coverage of possible cases:
  + more variability in size
    (previously, some tests were limited to a fixed size)
  + high probability of duplicates
    (previously, the probability of duplicates was negligible,
    because elements were drawn uniformly from the full `int` range)
- the test for `of_list, take_exn` is now more precise
  (added a duplicate element)
- the test for `to_list_sorted` is now more precise
  (checks that the resulting list is what we want,
  instead of just checking that it is sorted)
- the test for `filter` is now more precise
  (also checks that no element has been spuriously dropped)
- more uniform style for easier reading, using `|>`
2024-07-31 03:27:52 +02:00
..
cbor move to dune 3.0, fix warnings 2024-05-13 21:42:54 -04:00
core tests/CCHeap: improve existing tests 2024-07-31 03:27:52 +02:00
data reformat all the things 2024-05-13 20:57:53 -04:00
pvec reformat all the things 2024-05-13 20:57:53 -04:00