skip to content
==> tests/constants.c <==
1/* Every constant of @ajax/mesh-abi-view-infer 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/view_infer.h"
4#include "mesh/check.h"
5
6#include <stdint.h>
7#include <string.h>
8
9int main(void) {
10    CHECK_U(MESH_INFER_I_PARAMS, UINT64_C(0));
11    CHECK_U(MESH_INFER_I_RUNS, UINT64_C(16));
12    CHECK_U(MESH_INFER_I_TRAIN_STEP, UINT64_C(20));
13    CHECK_U(MESH_INFER_I_X, UINT64_C(256));
14    CHECK_U(MESH_INFER_I_Y, UINT64_C(768));
15    CHECK_U(MESH_INFER_POINTS, UINT64_C(64));
16    CHECK_U(MESH_INFER_VIEW_BYTES, UINT64_C(4096));
17    CHECK_U(MESH_INFER_OP_PROBE_READ, UINT64_C(3));
18    CHECK_U(MESH_INFER_R_NO_VIEW, UINT64_C(4294967294));
19    CHECK_U(MESH_INFER_R_NO_TRAIN, UINT64_C(0));
20    return mesh_check_done();
21}