BUILD202 (2026.11.05.3) — сначала снимать плашку и уточнить обработку голов

This commit is contained in:
2026-11-05 13:43:20 +03:00
parent 357a631207
commit 364cffabbb
31 changed files with 3828 additions and 115 deletions

View File

@@ -85,7 +85,11 @@ cases.ready_double_minor_keeps_second_segment = async () => {
assert.equal(held.started, true); assert.equal(h.board().penalties[0].remainingMs, 240000);
h.release(held); await goal; assertInfrastructure(h); assert.equal(h.board().penalties.length, 1);
assert.equal(h.board().penalties[0].remainingMs, 120000); assert.equal(h.board().penalties[0].running, false);
assert.equal(h.commands().some(command => /^OverlayInput[1-8]Out$/.test(command.Function)), false);
assert.ok(held.row.body.commands.every(command => /^OverlayInput[1-8]Out$/.test(command.Function)));
const wire = h.commands(), hidden = wire.findIndex(x => x.Function === 'OverlayInput2Out');
const seeded = wire.findIndex(x => x.Function === 'SetCountdown' && x.Value === '00:02:00');
const shown = wire.findLastIndex(x => x.Function === 'OverlayInput2In');
assert.ok(hidden >= 0 && seeded > hidden && shown > seeded, 'Hide, prepare the remaining two minutes, then show again');
};
(async () => {
const name = process.argv[2]; assert.equal(typeof cases[name], 'function', 'Unknown single-goal case ' + name);