mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
- 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 `|>`
|
||
|---|---|---|
| .. | ||
| compat | ||
| dune | ||
| t.ml | ||
| t_array.ml | ||
| t_bencode.ml | ||
| t_bool.ml | ||
| t_byte_buffer.ml | ||
| t_canonical_sexp.ml | ||
| t_cbor.ml | ||
| t_char.ml | ||
| t_either.ml | ||
| t_eq.ml | ||
| t_float.ml | ||
| t_format.ml | ||
| t_fun.ml | ||
| t_hash.ml | ||
| t_hashtbl.ml | ||
| t_heap.ml | ||
| t_int.ml | ||
| t_int32.ml | ||
| t_int64.ml | ||
| t_IO.ml | ||
| t_list.ml | ||
| t_map.ml | ||
| t_nativeint.ml | ||
| t_option.ml | ||
| t_ord.ml | ||
| t_parse.ml | ||
| t_pp.ml | ||
| t_random.ml | ||
| t_result.ml | ||
| t_seq.ml | ||
| t_set.ml | ||
| t_sexp.ml | ||
| t_string.ml | ||
| t_unix.ml | ||
| t_utf8string.ml | ||
| t_vector.ml | ||