[115] Test 3D-Hervorhebung Kontext-Netz: Randkanten statt Hüllquader

This commit is contained in:
Claude committed 2026-11-11 18:32:24 +00:00
1 parent 9e98fc7f40
commit 776ed12388
1 file changed
+2 -2
+2 -2
View File
@@ -132,9 +132,9 @@ describe("selectionHighlightLines — Kontext-Objekte", () => {
expect(lines.length).toBe(0);
});
it("ein Kontext-Objekt -> Bounding-Box-Umriss (12 Kanten)", () => {
it("ein Kontext-Netz -> seine Feature-/Randkanten ([115]: ein Dreieck = 3 Kanten statt Hüllquader)", () => {
const lines = selectionHighlightLines(withContext, [], [], RGB, [], [], [], ["CTX1"]);
expect(lines.length).toBe(12 * VERTICES_PER_EDGE * FLOATS_PER_VERTEX);
expect(lines.length).toBe(3 * VERTICES_PER_EDGE * FLOATS_PER_VERTEX);
expect(lines[3]).toBeCloseTo(RGB[0], 6);
expect(lines[5]).toBeCloseTo(RGB[2], 6);
});