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
+2 -2
View File
@@ -1,7 +1,7 @@
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 { weekPlan } from "../../app/domain/planning.js";
import { buildIcs, foldLine, icsEscape } from "../../app/domain/ics.js";
@@ -11,7 +11,7 @@ const NOW = new Date("2026-11-18T17:05:00Z");
/** Une semaine complète : force, cardio et une activité au nom accentué. */
function fullWeek() {
const s = emptyState();
s.program = structuredClone(DEFAULT_PROGRAM);
s.program = structuredClone(EXAMPLE_PROGRAM);
s.program.activities = [{
id: "randonnee", name: "Randonnée en forêt, dénivelé élevé ; « été »", zones: ["cardio", "lower"], intensity: "moderate", minutes: 180,
}];