nx_chem_molecule_test.nx
buildroot/runtime/nx_chem_molecule_test.nx
about
nx_chem_molecule_test.nx -- C2.0 KAT for MolGraph struct + builder.
All molecules constructed by hand (no SMILES parser yet -- that's
C2.1). Verifies: struct layout, atom + bond adders, bounded
lookups, error-code path on overflow, count-by-Z helper, and the
convenience builders for the canonical reference molecules.
expect_exit: 0
license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_chem_molecule.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
| 17 | func a_new_empty() -> nx_int |
| 35 | func b_atom_add() -> nx_int |
| 59 | func c_bond_add() -> nx_int |
| 78 | func d_atom_overflow() -> nx_int |
| 92 | func e_bond_bad_atom() -> nx_int |
| 106 | func f_bond_bad_order() -> nx_int |
| 119 | func g_water() -> nx_int |
| 133 | func h_methane() -> nx_int |
| 144 | func i_ethanol() -> nx_int |
| 164 | func j_ethene() -> nx_int |
| 176 | func k_ethyne() -> nx_int |
| 190 | func l_benzene() -> nx_int |
| 221 | func main() -> nx_exit |