nx_caplab_products_test.nx
buildroot/runtime/nx_caplab_products_test.nx
about
nx_caplab_products_test.nx -- gate for Capitalism Lab R5 (products + categories).
Proves: (1) two category markets resolve independently, (2) per-product P&L,
(3) a firm's PORTFOLIO profit sums across its products, (4) a bigger category
yields more total sales, (5) capacity caps within a category, (6) each
category's split is CONSERVED.
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_runtime.nxnx_tier.nxnx_caplab_products.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
| 13 | func nx_assert_eq(label: *u8, got: nx_int, want: nx_int, pass_n: *nx_int, fail_n: *nx_int) |
| 19 | func nx_assert_gt(label: *u8, got: nx_int, floor: nx_int, pass_n: *nx_int, fail_n: *nx_int) |
| 25 | func mk2(a: nx_int, b: nx_int) -> *i64 |
| 32 | func main() -> nx_exit |