testing min/max getter

This commit is contained in:
Yotam Mann 2017-05-08 11:48:47 -04:00
commit 187884f5ae

View file

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