Tone.js/test/effect/StereoXFeedbackEffect.js

35 lines
1.1 KiB
JavaScript
Raw Normal View History

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
describe("StereoXFeedbackEffect", function(){
2015-08-26 14:29:35 +00:00
Basic(StereoXFeedbackEffect);
2015-08-26 14:29:35 +00:00
context("Feedback Effect", function(){
2015-08-26 14:29:35 +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
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
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
});