==> tests/constants.c <==1/* Every constant of @ajax/mesh-abi-reconcile 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/reconcile.h"
4#include "mesh/check.h"
5
6#include <stdint.h>
7#include <string.h>
8
9int main(void) {
10 CHECK_U(MESH_RS_NONE, UINT64_C(0));
11 CHECK_U(MESH_RS_SYNC, UINT64_C(1));
12 CHECK_U(MESH_RS_PENDING, UINT64_C(2));
13 CHECK_U(MESH_RS_FAILED, UINT64_C(3));
14 CHECK_U(MESH_RS_NAMES_LEN, 4);
15 CHECK_S(MESH_RS_NAMES[0], "-");
16 CHECK_S(MESH_RS_NAMES[1], "in-sync");
17 CHECK_S(MESH_RS_NAMES[2], "pending");
18 CHECK_S(MESH_RS_NAMES[3], "failed");
19 return mesh_check_done();
20}