From 7cef3014a29366c0b666afbf6ef90b2b221eb1c9 Mon Sep 17 00:00:00 2001 From: Sergey Matyunin Date: Mon, 24 Aug 2026 01:49:12 +0300 Subject: [PATCH] test: keep multi-wall regression mutants executable Issue: #275 User-Visible: no --- scripts/mutation-gate.mjs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/scripts/mutation-gate.mjs b/scripts/mutation-gate.mjs index c1ef9809..2b0e8d19 100644 --- a/scripts/mutation-gate.mjs +++ b/scripts/mutation-gate.mjs @@ -294,6 +294,22 @@ export const MUTANTS = [ + ' else if (centre) localInside = intersection(localInside, centre);', replace: ' if (centre) localInside = intersection(localInside, centre);\n' + ' else if (envelope) localInside = intersection(localInside, envelope);', + }, { + file: 'src/wall-thickness.ts', + find: ' return cuts && protectedStrips ? difference(cuts, protectedStrips) : cuts;', + replace: ' return cuts;', + }, { + file: 'src/wall-thickness.ts', + find: ' if (protectedStrips) local = union(local, protectedStrips);', + replace: ' // protected-strip fail-safe intentionally disabled by the mutant', + }, { + file: 'src/wall-thickness.ts', + find: ' if (protectedStrips) {\n' + + ' try {\n' + + ' let protectedInside = protectedStrips;', + replace: ' if (protectedStrips && false) {\n' + + ' try {\n' + + ' let protectedInside = protectedStrips;', }], }, {