Tone.js/test/effect/StereoEffect.js

28 lines
703 B
JavaScript
Raw Normal View History

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