mirror of
https://github.com/Tonejs/Tone.js
synced 2025-01-02 15:08:42 +00:00
25 lines
713 B
JavaScript
25 lines
713 B
JavaScript
|
define(["Tone/effect/Effect", "Tone/effect/StereoEffect", "helper/Basic"], function (Effect, StereoEffect, Basic) {
|
||
|
|
||
|
describe("StereoEffect", function(){
|
||
|
|
||
|
Basic(StereoEffect);
|
||
|
|
||
|
context("Stereo", function(){
|
||
|
|
||
|
it ("extends Effect", function(){
|
||
|
var stereo = new StereoEffect();
|
||
|
expect(stereo).to.be.instanceOf(Effect);
|
||
|
stereo.dispose();
|
||
|
});
|
||
|
|
||
|
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();
|
||
|
});
|
||
|
});
|
||
|
});
|
||
|
});
|