SHA256
Связи: финальный вид сияющих связей — плазма (поле+трубка+ядро, screen-blend) + цвет связи у обычных
Промежуточные итерации линий схлопнуты в один коммит. Убран мёртвый фильтр fg-plasma-turb. Лаборатория (/network-view/lab) и автотесты сохранены. Версия 1.2.158. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -124,6 +124,17 @@ export async function runNetworkSelfTest(graph, deepChipEl) {
|
||||
check('E2 выход: зум вернулся (~1)', Math.abs(s.zoom - 1) < 0.05, `zoom=${s.zoom}`);
|
||||
check('E3 выход: погружение снято', s.diveTargetId === null, `dive=${s.diveTargetId}`);
|
||||
|
||||
// === Тест K: сияющие линии — плазма из 3 слоёв на ОДНОМ S-пути (одинаковый d) ===
|
||||
if (typeof document !== 'undefined') {
|
||||
const flare = document.querySelectorAll('.fg-plasma-flare');
|
||||
const tube = document.querySelectorAll('.fg-plasma-tube');
|
||||
const core = document.querySelectorAll('.fg-plasma-core');
|
||||
const equalLayers = flare.length >= 1 && flare.length === tube.length && tube.length === core.length;
|
||||
const sameD = flare[0] && flare[0].getAttribute('d') === tube[0].getAttribute('d')
|
||||
&& tube[0].getAttribute('d') === core[0].getAttribute('d');
|
||||
check('K1 плазма: 3 слоя на ОДНОМ S-пути', equalLayers && !!sameD, `поле:${flare.length} трубка:${tube.length} ядро:${core.length} sameD:${!!sameD}`);
|
||||
}
|
||||
|
||||
return finish(results);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user