mirror of
https://github.com/Tonejs/Tone.js
synced 2025-01-15 13:23:58 +00:00
increasing acceptable range for test
This commit is contained in:
parent
db600e1a84
commit
44582f6f61
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ define(["Tone/component/FFT", "Test", "helper/Basic", "helper/Supports", "Tone/s
|
||||||
analysis = fft.getValue();
|
analysis = fft.getValue();
|
||||||
expect(analysis.length).to.equal(256);
|
expect(analysis.length).to.equal(256);
|
||||||
for (i = 0; i < analysis.length; i++){
|
for (i = 0; i < analysis.length; i++){
|
||||||
expect(analysis[i]).is.within(-100, 0);
|
expect(analysis[i]).is.within(-200, 0);
|
||||||
}
|
}
|
||||||
fft.dispose();
|
fft.dispose();
|
||||||
noise.dispose();
|
noise.dispose();
|
||||||
|
|
Loading…
Reference in a new issue