nx_bam_file_compose_test.nx
buildroot/runtime/nx_bam_file_compose_test.nx
about
nx_bam_file_compose_test.nx -- end-to-end .bam stream composition.
Validates the full BAM-on-disk loop:
nx_bam_write_record -> binary record bytes
nx_bgzf_write_stored_block -> wrapped as a BGZF block
nx_bgzf_eof_marker -> appended as the spec-required terminator
nx_gzip_inflate -> inflate the BGZF block back
inflated bytes equal the original binary record byte-for-byte
This is the substrate-honesty audit smoke for G6.0d + G6.0e:
individual KATs already verify each primitive in isolation; this
one verifies the composition contract that real BAM files require.
Composes against the canonical "r1" / 3M / ACG / qual=[37,37,37]
record from nx_bam_test.nx Section D so the byte-exact reference
payload is known (48 bytes).
expect_exit: 0
license_tier: ORIGINAL
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_const.nxnx_bam.nxnx_bgzf.nxnx_gzip_wrap.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
| 28 | func main() -> i64 |