code wiki / (root) / nx_bom_test.nx

nx_bom_test.nx

buildroot/runtime/nx_bom_test.nx

1774 B35 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic bom
docsdependenciesstructsconstsfunctions

about

nx_bom_test.nx -- smoke for nx_bom. Proves the part catalog, the wate bench-prototype rollup (cost/mass/critical-path/make-count), per-category subtotals, and cost conservation. Exit code = failed assertion #; 0 = pass.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_bom.nx nx_bom_test.nx

imports: nx_syscalls.nxnx_bom.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_bom_part sys_mmap bom_set nx_bom_water_assemble sys_mmap ↻ nx_bom_water_qty nx_bom_part ↻ sys_munmap nx_bom_critical_path_days nx_bom_water_category_cost nx_bom_water_qty ↻ nx_bom_part ↻ sys_munmap ↻

structs

none

consts

none

functions

8func main() -> i64