skip to content
==> tests/golden.c <==
1/* @ajax/mesh-abi-host-mload's functions against vectors the Rust computed (alpha-rust-mesh, the same inputs). */
2#include "mesh/abi/host_mload.h"
3#include "mesh/check.h"
4
5#include <stdint.h>
6
7int main(void) {
8    CHECK_U(mesh_mload(0), 4608u);
9    CHECK_U(mesh_mload(1), 4672u);
10    CHECK_U(mesh_mload(3), 4800u);
11    CHECK_U(mesh_mload(7), 5056u);
12    CHECK_U(mesh_mload(8), 5120u);
13    return mesh_check_done();
14}