2019-01-27 18:05:20 +00:00
|
|
|
import Effect from "Tone/effect/Effect";
|
|
|
|
import MidSideEffect from "Tone/effect/MidSideEffect";
|
|
|
|
import Basic from "helper/Basic";
|
2015-08-26 14:29:35 +00:00
|
|
|
|
2019-01-27 18:05:20 +00:00
|
|
|
describe("MidSideEffect", function(){
|
2015-08-26 14:29:35 +00:00
|
|
|
|
2019-01-27 18:05:20 +00:00
|
|
|
Basic(MidSideEffect);
|
2015-08-26 14:29:35 +00:00
|
|
|
|
2019-01-27 18:05:20 +00:00
|
|
|
context("MidSide", function(){
|
2015-08-26 14:29:35 +00:00
|
|
|
|
2019-01-27 18:05:20 +00:00
|
|
|
it("extends Effect", function(){
|
|
|
|
var midSide = new MidSideEffect();
|
|
|
|
expect(midSide).to.be.instanceOf(Effect);
|
|
|
|
midSide.dispose();
|
|
|
|
});
|
2015-08-26 14:29:35 +00:00
|
|
|
|
2019-01-27 18:05:20 +00:00
|
|
|
it("has a mid and a side send and return", function(){
|
|
|
|
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();
|
2015-08-26 14:29:35 +00:00
|
|
|
});
|
|
|
|
});
|
2017-12-30 16:26:29 +00:00
|
|
|
});
|
2019-01-27 18:05:20 +00:00
|
|
|
|