Skip to content

add tests for leb128 library#486

Merged
c-cube merged 5 commits intomainfrom
simon/tests-leb128
Feb 10, 2026
Merged

add tests for leb128 library#486
c-cube merged 5 commits intomainfrom
simon/tests-leb128

Conversation

@c-cube
Copy link
Owner

@c-cube c-cube commented Feb 10, 2026

No description provided.

Test skipping through multiple values of different sizes (1, 3, and 2 bytes)
instead of redundantly testing skip on a single 0L value
@c-cube c-cube force-pushed the simon/tests-leb128 branch from 4886e76 to 1b756c3 Compare February 10, 2026 02:18
@c-cube c-cube marked this pull request as ready for review February 10, 2026 02:24
@c-cube c-cube merged commit 42c4f1c into main Feb 10, 2026
8 checks passed
@c-cube c-cube deleted the simon/tests-leb128 branch February 10, 2026 02:25
c-cube added a commit to c-cube/opam-repository that referenced this pull request Feb 11, 2026
CHANGES:

- fix leb128 slice bug
- fix leb128 `Int64.min_int` bug
- add tests for leb128 library (c-cube/ocaml-containers#486)
- some breaking changes after the big bump to 4.08 as lower bound, thanks to @fardale for the cleanup
  * breaking: CCListLabel.compare and CCListLabel.equal takes the function on the elements as named arguments
  * breaking: CCListLabel.init now takes the length as a named arguments to follow the Stdlib
  * breaking: change the semantic of CCFloat.{min,max} with respect to NaN to follow the Stdlib
  * breaking: change the semantic of CCInt.rem with respect to negative number to follow the Stdlib
  * breaking: change the order of argument of `CCMap.add_seq` to align with the stdlib.
c-cube added a commit to c-cube/opam-repository that referenced this pull request Feb 12, 2026
CHANGES:

- fix leb128 slice bug
- fix leb128 `Int64.min_int` bug
- add tests for leb128 library (c-cube/ocaml-containers#486)
- some breaking changes after the big bump to 4.08 as lower bound, thanks to @fardale for the cleanup
  * breaking: CCListLabel.compare and CCListLabel.equal takes the function on the elements as named arguments
  * breaking: CCListLabel.init now takes the length as a named arguments to follow the Stdlib
  * breaking: change the semantic of CCFloat.{min,max} with respect to NaN to follow the Stdlib
  * breaking: change the semantic of CCInt.rem with respect to negative number to follow the Stdlib
  * breaking: change the order of argument of `CCMap.add_seq` to align with the stdlib.
c-cube added a commit to c-cube/opam-repository that referenced this pull request Feb 15, 2026
CHANGES:

- fix leb128 slice bug
- fix leb128 `Int64.min_int` bug
- add tests for leb128 library (c-cube/ocaml-containers#486)
- fix size explosion in `t_pvec.ml` found in CI
- some breaking changes after the big bump to 4.08 as lower bound, thanks to @fardale for the cleanup
  * breaking: CCListLabel.compare and CCListLabel.equal takes the function on the elements as named arguments
  * breaking: CCListLabel.init now takes the length as a named arguments to follow the Stdlib
  * breaking: change the semantic of CCFloat.{min,max} with respect to NaN to follow the Stdlib
  * breaking: change the semantic of CCInt.rem with respect to negative number to follow the Stdlib
  * breaking: change the order of argument of `CCMap.add_seq` to align with the stdlib.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant