Tone.js/test/effect/StereoEffect.js

26 lines
712 B
JavaScript
Raw Normal View History

2015-08-26 14:29:35 +00:00
define(["Tone/effect/Effect", "Tone/effect/StereoEffect", "helper/Basic"], function (Effect, StereoEffect, Basic) {
describe("StereoEffect", function(){
Basic(StereoEffect);
context("Stereo", function(){
2017-12-30 16:26:29 +00:00
it("extends Effect", function(){
2015-08-26 14:29:35 +00:00
var stereo = new StereoEffect();
expect(stereo).to.be.instanceOf(Effect);
stereo.dispose();
});
2017-12-30 16:26:29 +00:00
it("has a mid and a side send and return", function(){
2015-08-26 14:29:35 +00:00
var stereo = new StereoEffect();
expect(stereo).to.have.property("effectSendL");
expect(stereo).to.have.property("effectSendR");
expect(stereo).to.have.property("effectReturnL");
expect(stereo).to.have.property("effectReturnR");
stereo.dispose();
});
});
});
2017-12-30 16:26:29 +00:00
});