nx_ttt_bits_up_e2e.nx
buildroot/runtime/nx_ttt_bits_up_e2e.nx
about
nx_ttt_bits_up_e2e.nx -- REAL bits-up end-to-end test driving the
actual nx_tictactoe game through the 5 bits-up test driver primitives.
Equivalent to nishi-pages/scripts/_bits_up_check.mjs but 100% NishiLang.
What this proves: the .mjs Playwright harness can be retired in favor
of bits-up substrate. No JS, no Playwright, no browser engine -- the
game's actual state machine + AI + render are driven through the same
click-dispatch lifecycle the browser uses, with HTML emitted via fd 99
captured into a buffer, queried by the DOM primitives, asserted by
the test harness DSL.
dependencies 6 imports · 0 importers
imports: nx_test_harness.nxnx_game_harness.nxnx_dom_query.nxnx_dom_click.nxnx_tictactoe.nxnx_tictactoe_render.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
| 18 | const K_MAGIC_65536: i64 = 65536 |
functions
| 20 | func _ttt_e2e_strlen(s: *u8) -> i64 |
| 26 | func main() -> i64 |