increasing acceptable range for test

This commit is contained in:
Yotam Mann 2017-09-16 15:16:46 -04:00
parent db600e1a84
commit 44582f6f61

View file

@ -40,7 +40,7 @@ define(["Tone/component/FFT", "Test", "helper/Basic", "helper/Supports", "Tone/s
analysis = fft.getValue();
expect(analysis.length).to.equal(256);
for (i = 0; i < analysis.length; i++){
expect(analysis[i]).is.within(-100, 0);
expect(analysis[i]).is.within(-200, 0);
}
fft.dispose();
noise.dispose();