nx_math_games_test.nx
buildroot/runtime/nx_math_games_test.nx
about
nx_math_games_test.nx -- smoke for the pedagogy primitives.
Refactored to use Result for fallible operations.
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_runtime.nxnx_tier.nxnx_result.nxnx_math_games.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 10 | func nx_assert_eq(label: *u8, got: nx_int, want: nx_int, pass_n: *nx_int, fail_n: *nx_int) |
| 21 | func nx_assert_result_ok(label: *u8, r: *NxResult, want: nx_int, called by 1: main calls 7: printnx_result_is_oknx_err_namenx_result_err_codeprintlnnx_result_unwrap+1 |
| 41 | func nx_assert_result_err(label: *u8, r: *NxResult, want_code: nx_int, |
| 60 | func main() -> nx_exit |