0.30.1: Wandliste in der Position bearbeitbar, Fassade aus der Wandliste
Some checks failed
Prüfung / tests (push) Has been cancelled
Prüfung / container (push) Has been cancelled

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
Claude
2026-10-22 13:02:17 +00:00
parent 177c9643c5
commit 8d0f88a9fa
6 changed files with 29 additions and 8 deletions

View File

@@ -96,3 +96,13 @@ describe("mitgelieferte Vorlagen", () => {
expect(a.werte.HA).toBe(25);
});
});
describe("Fassade mit Wandliste (Henning, 22.10.2026)", () => {
it("Fassadenfläche, Umfang und Öffnungen kommen aus der Wandliste", () => {
const a = werteBlatt(STANDARD_VORLAGEN.find((v) => v.id === "std-fassade")!.inhalt, umgebungVon({}));
// 2×10×2,75 + 2×8×2,75 + 2 Giebel 8×2,4/2 − Terrassentür 2,01×2,26 − Fenster Wohnen 2,01×1,385 (Küche unter 2,5 m²)
expect(a.menge).toBeCloseTo(99 + 19.2 - 4.5426 - 2.78385, 3);
expect(a.werte.UF).toBeCloseTo(36);
expect(a.werte.BOEF).toBeCloseTo(5.28);
});
});