mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 00:27:58 +00:00
increasing test threshold
This commit is contained in:
parent
eb9f7157b1
commit
2bc56340a5
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