nx_chem_smiles_emit_test.nx
buildroot/runtime/nx_chem_smiles_emit_test.nx
about
nx_chem_smiles_emit_test.nx -- C2.3b KAT for SMILES emit.
Round-trip test: SMILES -> MolGraph -> SMILES' -> MolGraph' compares
structurally equal. Output SMILES may not be byte-identical to input
(canonical ranking is C2.3c), but it must parse back to the same graph.
expect_exit: 0
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_chem_molecule.nxnx_chem_smiles.nxnx_chem_smiles_emit.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 cmp_graphs(m1: *MolGraph, m2: *MolGraph) -> nx_int |
| 44 | func roundtrip_check(src: *u8, n: nx_int, base_err: nx_int) -> nx_int called by 11: a_waterb_methanec_ethanold_ethenee_ethynef_isobutane+5 calls 3: nx_chem_parse_smilesnx_chem_emit_smilescmp_graphs |
| 62 | func a_water() -> nx_int |
| 70 | func b_methane() -> nx_int |
| 78 | func c_ethanol() -> nx_int |
| 87 | func d_ethene() -> nx_int |
| 96 | func e_ethyne() -> nx_int |
| 105 | func f_isobutane() -> nx_int |
| 114 | func g_cyclohexane() -> nx_int |
| 126 | func h_benzene() -> nx_int |
| 138 | func i_nacl() -> nx_int |
| 149 | func j_lead() -> nx_int |
| 158 | func k_diethyl_ether() -> nx_int |
| 167 | func l_emit_water_direct() -> nx_int |
| 182 | func m_emit_ethene_direct() -> nx_int |
| 201 | func n_emit_lead_direct() -> nx_int |
| 219 | func main() -> nx_exit |