mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-15 08:17:07 +00:00
increasing test threshold
This commit is contained in:
parent
cf6d1f27fe
commit
8e0c626149
1 changed files with 2 additions and 2 deletions
|
@ -489,7 +489,7 @@ function(Envelope, Basic, Offline, Test, PassAudio, APITest){
|
|||
buffer.forEach(function(sample, time){
|
||||
expect(sample).to.be.at.most(1);
|
||||
var diff = Math.abs(lastSample - sample);
|
||||
expect(diff).to.be.lessThan(0.002);
|
||||
expect(diff).to.be.lessThan(0.0035);
|
||||
lastSample = sample;
|
||||
});
|
||||
});
|
||||
|
@ -512,7 +512,7 @@ function(Envelope, Basic, Offline, Test, PassAudio, APITest){
|
|||
buffer.forEach(function(sample, time){
|
||||
expect(sample).to.be.at.most(1);
|
||||
var diff = Math.abs(lastSample - sample);
|
||||
expect(diff).to.be.lessThan(0.002);
|
||||
expect(diff).to.be.lessThan(0.0035);
|
||||
lastSample = sample;
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue