fix(rebar): 측면 수평 C12 = 상단 · C13 = 하단 변화구간 (엑셀 Pier B357–G358)
T형과 다주형 모두 엑셀 Pier 시트 철근표(C12 상단, C13 하단(변화구간))에 맞춰 측면 수평철근 번호를 서로 바꾼다 (사용자 결정 2026-11-06). - 경사 하면에서 끊기는 아래 단 → C13, 끝면까지 가는 위 단 → C12 - 철근표 위치·비고 문구, 3D, 다주형 생성기가 같은 원천(sideRows)을 따른다 - C14 높이 순서를 유지하도록 측면 단을 아래(C13) → 위(C12) 순서로 넘김 - 테스트 기대값의 번호를 교환 (P1: C12 2단 8개, C13 5단 20개) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fb7b4b021b
commit
2b26b7c095
10 files changed
+52
-50
No files matched your search
@@ -12,13 +12,13 @@ describe('③ 철근표 요약 (P1)', () => {
|
||||
expect(count('S2')).toBe(80);
|
||||
});
|
||||
|
||||
it('coping: C1–C8 12 each, C9 18, C10 9, C11 18, C12 20 (5 rows × 일자 2 + ㄷ 2), C13 8 (2 rows), C14 38, C15 11, C16 22', () => {
|
||||
it('coping: C1–C8 12 each, C9 18, C10 9, C11 18, C13 20 (5 rows × 일자 2 + ㄷ 2), C12 8 (2 rows), C14 38, C15 11, C16 22', () => {
|
||||
for (const n of ['C1', 'C2', 'C3', 'C4', 'C5', 'C6', 'C7', 'C8']) expect(count(n)).toBe(12);
|
||||
expect(count('C9')).toBe(18);
|
||||
expect(count('C10')).toBe(9);
|
||||
expect(count('C11')).toBe(18);
|
||||
expect(count('C12')).toBe(20);
|
||||
expect(count('C13')).toBe(8);
|
||||
expect(count('C13')).toBe(20);
|
||||
expect(count('C12')).toBe(8);
|
||||
expect(count('C14')).toBe(38);
|
||||
expect(count('C15')).toBe(11);
|
||||
expect(count('C16')).toBe(22);
|
||||
@@ -52,9 +52,9 @@ describe('③ 철근표 요약 (P1)', () => {
|
||||
expect(rows.find((r) => r.name === 'B6')!.length!).toBeCloseTo(7776, 0);
|
||||
});
|
||||
|
||||
it('lengths from the documents: C13 11746, C14 3447.5, C15 3852, C16 4070, P3 ≈ C_t + 1.3·l_d, P5 ≈ C_t', () => {
|
||||
// C13 has several lengths now: its straight bars are pieces (수정 2026-10-23); 11746 is the first 일자.
|
||||
expect(rows.find((r) => r.name === 'C13')!.pieces!.some((p) => p.length === 11746)).toBe(true);
|
||||
it('lengths from the documents: C12 11746, C14 3447.5, C15 3852, C16 4070, P3 ≈ C_t + 1.3·l_d, P5 ≈ C_t', () => {
|
||||
// C12 has several lengths now: its straight bars are pieces (수정 2026-10-23); 11746 is the first 일자.
|
||||
expect(rows.find((r) => r.name === 'C12')!.pieces!.some((p) => p.length === 11746)).toBe(true);
|
||||
expect(rows.find((r) => r.name === 'C14')!.length).toBe(3447.5);
|
||||
expect(rows.find((r) => r.name === 'C15')!.length).toBe(3852);
|
||||
expect(rows.find((r) => r.name === 'C16')!.length).toBe(4070);
|
||||
|
||||
Reference in new issue
Block a user