mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 00:27:58 +00:00
testing min/max getter
This commit is contained in:
commit
187884f5ae
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ define(["helper/ConstantOutput", "Tone/signal/Normalize", "helper/Basic",
|
|||
var norm = new Normalize(0, 1);
|
||||
norm.min = 5;
|
||||
norm.max = 15;
|
||||
expect(norm.min).to.be.closeTo(5, 0.1);
|
||||
expect(norm.max).to.be.closeTo(15, 0.1);
|
||||
sig.connect(norm);
|
||||
norm.toMaster();
|
||||
}, 0.5);
|
||||
|
|
Loading…
Reference in a new issue