38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
|
||
> find-word@0.1.0 test
|
||
> vitest run tests/dsp.test.ts
|
||
|
||
|
||
RUN v5.0.4 /home/hermes/worktrees/find-word-v0.1
|
||
|
||
❯ tests/dsp.test.ts (3 tests | 1 failed) 82ms
|
||
❯ 상대 dB와 결정론적 배경 합성 (3)
|
||
× 여덟 환경이 서로 다르고 같은 seed는 같은 안전 범위 신호를 만든다 76ms
|
||
|
||
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
|
||
|
||
FAIL tests/dsp.test.ts > 상대 dB와 결정론적 배경 합성 > 여덟 환경이 서로 다르고 같은 seed는 같은 안전 범위 신호를 만든다
|
||
AssertionError: expected -0 to be +0 // Object.is equality
|
||
|
||
- Expected
|
||
+ Received
|
||
|
||
- 0
|
||
+ -0
|
||
|
||
❯ tests/dsp.test.ts:29:25
|
||
27| expect(Math.max(...signal.map(Math.abs))).toBeLessThan(1);
|
||
28| // 루프 경계에서 불연속 클릭이 생기지 않도록 양 끝을 0으로 감싼다.
|
||
29| expect(signal[0]).toBe(0);
|
||
| ^
|
||
30| expect(signal.at(-1)).toBe(0);
|
||
31| signatures.add([...signal.slice(0, 100)].join(','));
|
||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
|
||
|
||
|
||
Test Files 1 failed (1)
|
||
Tests 1 failed | 2 passed (3)
|
||
Start at 04:57:34
|
||
Duration 912ms (environment 72%, setup 12%, tests 10%, transform 5%, worker 1%, import 1%)
|