skip to content
==> tests/constants.c <==
1/* Every constant of @ajax/mesh-abi-exchange 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/exchange.h"
4#include "mesh/check.h"
5
6#include <stdint.h>
7#include <string.h>
8
9int main(void) {
10    CHECK_U(MESH_EX_BASE, UINT64_C(172032));
11    CHECK_U(MESH_EX_BYTES, UINT64_C(4096));
12    CHECK_U(MESH_EX_SLOT_BYTES, UINT64_C(32));
13    CHECK_U(MESH_EX_REGION_BYTES, UINT64_C(64));
14    CHECK_U(MESH_PEER_POLLS, UINT64_C(50000));
15    CHECK_U(MESH_PEER_POLL_NS, UINT64_C(2000));
16    return mesh_check_done();
17}