Intégration du lot 1b : programme d'exemple, pas de hausse hors mode progression, glossaire

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pierre MARTIN
2026-11-18 01:03:05 +01:00
co-authored by Claude Opus 5.5
parent 3fb49b3d01
commit 8733f4f099
13 changed files with 89 additions and 119 deletions
+3 -3
View File
@@ -1,15 +1,15 @@
import { test } from "node:test";
import assert from "node:assert/strict";
import { emptyState } from "../../app/domain/state.js";
import { DEFAULT_PROGRAM } from "../../app/domain/default-program.js";
import { EXAMPLE_PROGRAM } from "../../app/domain/example-program.js";
import { EMPTY_BAR_KG, MOBILITY, warmupPlan } from "../../app/domain/warmup.js";
const SESSION_A = DEFAULT_PROGRAM.sessions[0]; // commence par le squat barre
const SESSION_A = EXAMPLE_PROGRAM.sessions[0]; // commence par le squat barre
/** @param {number|null} loadKg */
function stateWith(loadKg) {
const s = emptyState();
s.program = structuredClone(DEFAULT_PROGRAM);
s.program = structuredClone(EXAMPLE_PROGRAM);
if (loadKg !== null) s.workingLoads["A-squat"] = { loadKg, seconds: null };
return s;
}