fix(rebar): 길이 단면의 B12 풍선을 왼쪽으로 옮겨 B11 지시선과 구분, 말뚝 개수 테스트 추가

- B12 풍선을 피복선 쪽으로 80 px 옮겨 B11 지시선과 떨어지게 함
- 말뚝 5개 위치 전부 그려지는지 테스트로 확인

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
ypshimandClaude Haiku 5.5 committed 2026-10-27 14:01:49 +09:00
1 parent cf8410e450
commit df96991c9b
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -38,6 +38,11 @@ describe('확대기초 교각축 단면 (길이 L) (승인 2026-10-27)', () => {
expect(svg).toContain('8@200=1600');
});
it('말뚝은 길이 방향 5개 위치 (모델 s 1.5–10.5 m)로 모두 그려짐', () => {
expect(svg.split('class="pile"').length - 1).toBe(new Set(m.piles.map((p) => p.s)).size);
expect(new Set(m.piles.map((p) => p.s)).size).toBe(5);
});
it('has bubbles for B5, B11, B12 and B10-2', () => {
for (const name of ['B5', 'B11', 'B12', 'B10-2']) expect(svg).toContain(`data-bubble="${name}"`);
});