Skip to content
Commit 2d4619b1 authored by Christopher Friedt's avatar Christopher Friedt Committed by Carles Cufi
Browse files

tests: lib: hash_function: tests for sys_hash32



Add a test for `sys_hash32()`. The expectation is that hash
functions should be approximately uniform over a given field.

We can use the Kolmogorov Smirnov test to verify that our
hash function is approximately uniform over a given field.

Signed-off-by: default avatarChris Friedt <cfriedt@meta.com>
parent b75df60f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment