increasing test threshold

This commit is contained in:
Yotam Mann 2018-06-12 23:51:30 -04:00
parent cf6d1f27fe
commit 8e0c626149

View file

@ -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;
});
});