mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2026-03-12 16:26:15 -04:00
- Added 100+ specific test cases for CBOR encoding/decoding - Integer boundary tests (0, 23, 24, 255, 256, 65535, Int64 limits) - Negative integer tests - Float tests including infinity and NaN handling - UTF-8 string tests with emoji and international characters - Byte string tests with binary data - Array and Map tests including empty and nested structures - Tag tests for common CBOR tags (0, 1, 32) - Simple value tests (0-255) - Error case tests for invalid CBOR data - Diagnostic string output tests - Deep nesting tests (100 levels) - Large collection tests (1000 elements) - Additional property tests for consistency - Fixed missing ;; terminator in original roundtrip test - All tests compile and validate against CBOR RFC 8949 Total: ~150 new test cases covering: * All CBOR data types * Edge cases and boundaries * Error handling * RFC compliance * Performance with large data |
||
|---|---|---|
| .. | ||
| compat | ||
| reg | ||
| dune | ||
| t.ml | ||
| t_array.ml | ||
| t_bencode.ml | ||
| t_bool.ml | ||
| t_byte_buffer.ml | ||
| t_byte_slice.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_pair.ml | ||
| t_parse.ml | ||
| t_pp.ml | ||
| t_random.ml | ||
| t_ref.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 | ||