# Testing

Tests are deterministic and run on `wasm-gc`, `js`, and `native`.

The named suite covers syntax, OWS, case-insensitive units, unknown units,
overflow, malformed numbers, suffix and open-ended resolution, clipping,
zero-length representations, partial and complete unsatisfiability,
normalization, `Accept-Ranges`, `Content-Range`, response and multipart plans,
limits, audit findings, errors, reconstructed RFC examples, and CLI helpers.

`test_property.mbt` executes 900 cases from a fixed-seed integer generator. Each
case checks parse/serialize stability, canonical idempotence, resolved interval
invariants, and ordered non-overlapping coalesced output.

`test_truncation.mbt` passes every prefix of complex Range, Content-Range, and
Accept-Ranges fixtures to public parsers. Each invocation must return `Ok` or
`Err`; a panic, hang, or out-of-bounds read fails the test.

Use `scripts/count_code.py` for measured source and case counts, and
`scripts/verify_all.ps1` for the fail-fast full matrix.
