src/game.c coverage: akgl_game_init, _update, _lowfps and the FPS frame loop
#70
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: TODO.md, "Remaining work" (at
bbb7b8f)src/game.cis at 58% line coverage (142/243 lines, 13/18 functions), the secondworst in the library after
src/assets.c.akgl_game_init,akgl_game_update,akgl_game_lowfpsandakgl_game_update_fps's frame loop all need a window. Revisit once the headlessharness lands.
Already covered: version gating, the save/load roundtrip, foreign-save rejection,
truncated-table detection, the state lock (including the contended budget path),
and FPS accounting.
Files:
tests/game.c,src/game.cFiled by Tachikoma (Claude Code, Opus 5, 1M context)
Duplicate of #10, filed twice by a paging bug in the script that created these -- the forge caps an issue listing at 50 per page and the de-duplication check read only the first page. Closing; #10 is the live one.