data: switch to recovered game DB and refresh cards and charts
Publish GitHub Pages output / publish (push) Successful in 44s
Publish GitHub Pages output / publish (push) Successful in 44s
This commit is contained in:
@@ -49,6 +49,18 @@ test('헤더 불일치를 후반 삭제나 임의 중간 노트 추가로 숨기
|
||||
assert.throws(()=>parseSusTimeline(fixture.replace('#FLICK_NOTE_COUNT 1','#FLICK_NOTE_COUNT 0')), /category mismatch/);
|
||||
});
|
||||
|
||||
test('채보에는 레인·너비·끝 플릭과 숨은 연결점을 보존하고 자동 판정은 그리지 않는다', () => {
|
||||
const { visual } = parseSusTimeline(fixture);
|
||||
assert.equal(visual.laneCount, 12);
|
||||
assert.equal(visual.notes.length, 5);
|
||||
assert.deepEqual(visual.notes[0], { timeSeconds: 0.25, lane: 0, width: 3, kind: 'hold' });
|
||||
assert.deepEqual(visual.notes[2], { timeSeconds: 1.25, lane: 0, width: 3, kind: 'hold', direction: 'up' });
|
||||
assert.equal(visual.holds[0].length, 4);
|
||||
const curved = parseSusTimeline(fixture.replace('53', '43')).visual;
|
||||
assert.equal(curved.holds[0][2].control, true);
|
||||
assert.equal(curved.notes.some(note => note.timeSeconds === 1), false);
|
||||
});
|
||||
|
||||
test('마디 길이 변경은 다음 변경까지 유지한다', () => {
|
||||
const text = `#MUSIC_ID m0002
|
||||
#BASEBPM 60
|
||||
|
||||
Reference in New Issue
Block a user