2015-08-26 14:29:35 +00:00
|
|
|
define(["Tone/effect/Effect", "Tone/effect/MidSideEffect", "helper/Basic"], function (Effect, MidSideEffect, Basic) {
|
|
|
|
|
|
|
|
describe("MidSideEffect", function(){
|
|
|
|
|
|
|
|
Basic(MidSideEffect);
|
|
|
|
|
|
|
|
context("MidSide", function(){
|
|
|
|
|
2017-12-30 16:26:29 +00:00
|
|
|
it("extends Effect", function(){
|
2015-08-26 14:29:35 +00:00
|
|
|
var midSide = new MidSideEffect();
|
|
|
|
expect(midSide).to.be.instanceOf(Effect);
|
|
|
|
midSide.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 midSide = new MidSideEffect();
|
|
|
|
expect(midSide).to.have.property("midSend");
|
|
|
|
expect(midSide).to.have.property("midReturn");
|
|
|
|
expect(midSide).to.have.property("sideSend");
|
|
|
|
expect(midSide).to.have.property("sideReturn");
|
|
|
|
midSide.dispose();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
2017-12-30 16:26:29 +00:00
|
|
|
});
|