ocaml-containers/tests/core/t.ml
Simon Cruanes f59b264241 Add comprehensive tests for undertested modules
- Added complete test suite for CCPair (141 tests)
  * Tests for all map functions, swap, operators, dup, equal/compare
  * Property-based tests for key invariants

- Added complete test suite for CCRef (269 tests)
  * Tests for create, map, iter, update
  * Tests for incr_then_get and get_then_incr
  * Tests for swap and protect with exception safety
  * Property-based tests for all operations

- Added complete test suite for CCByte_slice (199 tests)
  * Tests for creation with offsets and lengths
  * Tests for get/set with bounds checking
  * Tests for consume and sub operations
  * Tests for contents and sharing semantics
  * Property-based tests for slice operations

- Expanded CCOption tests (added 200+ tests)
  * Tests for map_or, map_lazy, wrap, or_lazy
  * Tests for sequence_l, choice, flatten
  * Tests for result conversion functions
  * Comprehensive property-based tests

- Expanded CCResult tests (added 180+ tests)
  * Tests for guard, wrap1/2/3, retry
  * Tests for map_l, fold_l, choose
  * Tests for both, join, flatten_l
  * Comprehensive error handling tests

- Expanded CCList tests (added 120+ tests)
  * Tests for interleave, take_while, drop_while
  * Tests for find_map, partition_map, sublists_of_len
  * Tests for sorted_merge, sorted_uniq, group_by
  * Edge cases for take/drop and range functions
  * Property-based tests for list operations

All tests follow existing patterns using Containers_testlib with
unit tests (t), equality assertions (eq), and property tests (q).
2026-02-08 05:18:10 +00:00

41 lines
823 B
OCaml

Containers_testlib.run_all ~descr:"containers"
[
T_pp.get ();
T_list.get ();
T_array.get ();
T_bool.get ();
T_byte_buffer.get ();
T_byte_slice.get ();
T_canonical_sexp.get ();
T_char.get ();
T_either.get ();
T_eq.get ();
T_float.get ();
T_format.get ();
T_fun.get ();
T_hash.get ();
T_hashtbl.get ();
T_heap.get ();
T_IO.get ();
T_int.get ();
T_int32.get ();
T_int64.get ();
T_map.get ();
T_nativeint.get ();
T_option.get ();
T_ord.get ();
T_pair.get ();
T_parse.get ();
T_random.get ();
T_ref.get ();
T_result.get ();
T_set.get ();
T_seq.get ();
T_sexp.get ();
T_string.get ();
T_utf8string.get ();
T_vector.get ();
T_bencode.get ();
T_cbor.get ();
T_unix.get ();
]