]> git.ipfire.org Git - thirdparty/zstd.git/commit
Add unit tests for HIST_count_wksp 4411/head
authorArpad Panyik <Arpad.Panyik@arm.com>
Wed, 11 Jun 2025 12:19:42 +0000 (12:19 +0000)
committerArpad Panyik <Arpad.Panyik@arm.com>
Fri, 13 Jun 2025 22:55:53 +0000 (22:55 +0000)
commitd28a7377505087174a5d3b259a232b8ab7f0cb60
tree872ec66c3d8b44d9aa7ae37b7fba106d4feb09df
parent7e4937bc7533914370be181234384650cf519b53
Add unit tests for HIST_count_wksp

The following tests are included:
- Empty input scenario test.
- Workspace size and alignment tests.
- Symbol out-of-range tests.
- Cover multiple input sizes, vary permitted maximum symbol
  values, and include diverse symbol distributions.

These tests verifies count table correctness, maxSymbolValuePtr
updates, and error-handling paths. It enables automated regression
of core histogram logic as well.
.github/workflows/dev-short-tests.yml
tests/cli-tests/run.py
tests/fuzzer.c