fix(시험): test_b05_min_cover_guard 기대 글 — 적용 막히면 return false 로 바뀐 부르는 곳 (394-2)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QfHKQs7J3hQELKMWQMUJEy
This commit is contained in:
@@ -18,9 +18,7 @@ RENDER = (PROJECT_ROOT / "B05_Profile" / "B05_Profile_UI_Profile_Render.ts").rea
|
||||
encoding="utf-8"
|
||||
)
|
||||
# 종단 패널 본체는 종단도 한 벌로 옮겼다(계획서 24-2c) — 편집 한 길도 그 안에 있다.
|
||||
PANEL = (PROJECT_ROOT / "A00_Common" / "design" / "design_profile.ts").read_text(
|
||||
encoding="utf-8"
|
||||
)
|
||||
PANEL = (PROJECT_ROOT / "A00_Common" / "design" / "design_profile.ts").read_text(encoding="utf-8")
|
||||
GUARD = (PROJECT_ROOT / "B05_Profile" / "B05_Profile_UI_Profile_MinCover.ts").read_text(
|
||||
encoding="utf-8"
|
||||
)
|
||||
@@ -79,7 +77,7 @@ def test_source_guard_sits_on_the_single_apply_path():
|
||||
`_Profile_Panel.applyEdits` 한 곳에서만 부른다 — 화면 쪽에는 사본을 두지 않는다.
|
||||
"""
|
||||
assert (
|
||||
"if (blocksMinCover(base, alignment, candidate, enforceMinCover, minCoverTargets)) return;"
|
||||
"if (blocksMinCover(base, alignment, candidate, enforceMinCover, minCoverTargets)) return false;"
|
||||
in PANEL
|
||||
)
|
||||
assert PANEL.count("blocksMinCover(") == 1 # 부르는 자리는 한 곳뿐.
|
||||
@@ -99,9 +97,9 @@ def test_source_old_diameter_formula_removed():
|
||||
assert "minCoverTargets: () => minCoverTargets" in PANEL
|
||||
|
||||
|
||||
ALIGNMENT = (PROJECT_ROOT / "B05_Profile" / "logic" / "B05_Profile_UI_Profile_Alignment.ts").read_text(
|
||||
encoding="utf-8"
|
||||
)
|
||||
ALIGNMENT = (
|
||||
PROJECT_ROOT / "B05_Profile" / "logic" / "B05_Profile_UI_Profile_Alignment.ts"
|
||||
).read_text(encoding="utf-8")
|
||||
|
||||
|
||||
def test_shift_moves_hinges_not_fixed_ends():
|
||||
|
||||
Reference in New Issue
Block a user