skip to content
==> tests/golden.c <==
1/* @ajax/mesh-abi-ext's functions against vectors the Rust computed (alpha-rust-mesh, the same inputs). */
2#include "mesh/abi/ext.h"
3#include "mesh/check.h"
4
5#include <stdint.h>
6
7int main(void) {
8    CHECK_U(mesh_prog_ext(0), 196608u);
9    CHECK_U(mesh_prog_ext(1), 197632u);
10    CHECK_U(mesh_prog_ext(2), 198656u);
11    CHECK_U(mesh_prog_ext(7), 203776u);
12    CHECK_U(mesh_prog_ext(31), 228352u);
13    CHECK_U(mesh_prog_ext(32), 229376u);
14    return mesh_check_done();
15}