skip to content
==> tests/constants.c <==
1/* Every constant of @ajax/mesh-abi-fnv equals the Rust's (values printed by the Rust itself), and the
2 * Rust const asserts that need a function call hold. Generated from alpha-rust-mesh. */
3#include "mesh/abi/fnv.h"
4#include "mesh/check.h"
5
6#include <stdint.h>
7#include <string.h>
8
9int main(void) {
10    CHECK(mesh_fnv1a64((const uint8_t *)"", 0) == 0xcbf29ce484222325); /* fnv1a64(b"") == 0xcbf2_9ce4_8422_2325 */
11    return mesh_check_done();
12}