code wiki / (root) / nx_chem_solution_test.nx

nx_chem_solution_test.nx

buildroot/runtime/nx_chem_solution_test.nx

1419 B33 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic chem
docsdependenciesstructsconstsfunctions

about

nx_chem_solution_test.nx -- smoke for nx_chem_solution. Proves Henderson-Hasselbalch buffers, pH/pOH, molarity, dilution, titratable acidity, and the high-acid tie to preservation. Exit code = failed assertion number; 0 = all pass.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_chem_solution.nx nx_chem_solution_test.nx

imports: nx_syscalls.nxnx_chem_solution.nx

imported by: nobody (leaf or entry point)

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

main cs_buffer_ph_at_pka cs_buffer_ph_milli cs_buffer_ph_milli ↻ cs_poh_milli cs_is_high_acid cs_molarity_mm cs_dilute_final_conc cs_dilute_volume_needed cs_titratable_acid_mg

structs

none

consts

none

functions

9func main() -> i64