2019-01-27 18:05:20 +00:00
|
|
|
import Effect from "Tone/effect/Effect";
|
|
|
|
import StereoXFeedbackEffect from "Tone/effect/StereoXFeedbackEffect";
|
|
|
|
import Basic from "helper/Basic";
|
2015-08-26 14:29:35 +00:00
|
|
|
|
2019-01-27 18:05:20 +00:00
|
|
|
describe("StereoXFeedbackEffect", function(){
|
2015-08-26 14:29:35 +00:00
|
|
|
|
2019-01-27 18:05:20 +00:00
|
|
|
Basic(StereoXFeedbackEffect);
|
2015-08-26 14:29:35 +00:00
|
|
|
|
2019-01-27 18:05:20 +00:00
|
|
|
context("Feedback Effect", function(){
|
2015-08-26 14:29:35 +00:00
|
|
|
|
2019-01-27 18:05:20 +00:00
|
|
|
it("extends Effect", function(){
|
|
|
|
var stereoFeedback = new StereoXFeedbackEffect();
|
|
|
|
expect(stereoFeedback).to.be.instanceOf(Effect);
|
|
|
|
stereoFeedback.dispose();
|
|
|
|
});
|
2015-08-26 14:29:35 +00:00
|
|
|
|
2019-01-27 18:05:20 +00:00
|
|
|
it("has a feedback signal", function(){
|
|
|
|
var stereoFeedback = new StereoXFeedbackEffect();
|
|
|
|
expect(stereoFeedback).to.have.property("feedback");
|
|
|
|
expect(stereoFeedback.feedback).to.have.property("value");
|
|
|
|
stereoFeedback.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 stereoFeedback = new StereoXFeedbackEffect();
|
|
|
|
expect(stereoFeedback).to.have.property("effectSendL");
|
|
|
|
expect(stereoFeedback).to.have.property("effectSendR");
|
|
|
|
expect(stereoFeedback).to.have.property("effectReturnL");
|
|
|
|
expect(stereoFeedback).to.have.property("effectReturnR");
|
|
|
|
stereoFeedback.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
|
|
|
|