V10.8.11: the generator's tests by its pages' names whole (GENERATOR 1..3)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
This commit is contained in:
Claude committed 2026-11-22 17:19:39 +00:00
1 parent b48a4b1b66
commit bec39d1001
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -463,7 +463,7 @@ int main(void)
bad += check("an empty loop: nothing made, said so", !chain_config.count && !song_draft && strstr(ui.msg, "EMPTY") != 0);
/* ---- GENE 1's FORM card: MY LOOP whole on it */
lt_clear(); gp.form = 3; gp.page = 0;
nav_put(SEC_HOME, "GENE 1"); gp.hot = 3;
nav_put(SEC_HOME, "GENERATOR 1"); gp.hot = 3;
ut_card_bad = ut_card_txt = 0; ui.force = 1; frame();
{
char v[16];
+3 -3
View File
@@ -36,7 +36,7 @@ int main(void)
}
printf("GEN SONG: %u genre choices have complete, non-identical parts\n", total);
make_song(1, 31);
nav_put(SEC_HOME, "GENE 1"); frame();
nav_put(SEC_HOME, "GENERATOR 1"); frame();
sig = gen_draw_sig();
press(B_PLAY); events_block(CTL); song_poll(); frame();
ok = chain.running && chain.row == 0 && live.cur == chain.config.row[0].slot && gen_draw_sig() != sig; /* (V10.6m: the
@@ -75,14 +75,14 @@ int main(void)
* the draft buffers and may replace them, even while the previous song plays. */
make_song(1, 31);
section_store(1); live.mode = 1;
nav_put(SEC_HOME, "GENE 2"); frame();
nav_put(SEC_HOME, "GENERATOR 2"); frame();
press(B_PLAY); events_block(CTL); song_poll();
uint32_t before_seed = gp.seed; gp.sig = gen_sig();
press(B_OCTUP); events_block(CTL); song_poll(); frame();
bad += check("GEN 2 rerolls a playing song as a draft and resumes arrangement playback",
song_draft && !gform_kept && chain_config.count >= 4 && song.playing && chain.running && gp.seed != before_seed);
screen_save("build/song-check", "generator-draft-page2");
nav_put(SEC_HOME, "GENE 3"); frame();
nav_put(SEC_HOME, "GENERATOR 3"); frame();
bad += check("GEN 3 keeps real parts visible while editing generator settings", gen_page()==2 && chain_config.count>=4);
screen_save("build/song-check", "generator-draft-page3");
seq_stop();song_poll();