mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 16:48:00 +00:00
25 lines
714 B
JavaScript
25 lines
714 B
JavaScript
define(["Tone/effect/Effect", "Tone/effect/MidSideEffect", "helper/Basic"], function (Effect, MidSideEffect, Basic) {
|
|
|
|
describe("MidSideEffect", function(){
|
|
|
|
Basic(MidSideEffect);
|
|
|
|
context("MidSide", function(){
|
|
|
|
it("extends Effect", function(){
|
|
var midSide = new MidSideEffect();
|
|
expect(midSide).to.be.instanceOf(Effect);
|
|
midSide.dispose();
|
|
});
|
|
|
|
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();
|
|
});
|
|
});
|
|
});
|
|
});
|