diff --git a/test/spec/ol/control/rotatecontrol.test.js b/test/spec/ol/control/rotatecontrol.test.js new file mode 100644 index 0000000000..8766da436f --- /dev/null +++ b/test/spec/ol/control/rotatecontrol.test.js @@ -0,0 +1,16 @@ +goog.provide('ol.test.control.Rotate'); + +describe('ol.control.Rotate', function() { + + describe('constructor', function() { + + it('can be constructed without arguments', function() { + var instance = new ol.control.Rotate(); + expect(instance).to.be.an(ol.control.Rotate); + }); + + }); + +}); + +goog.require('ol.control.Rotate'); diff --git a/test/spec/ol/control/zoomcontrol.test.js b/test/spec/ol/control/zoomcontrol.test.js new file mode 100644 index 0000000000..425b78a0dc --- /dev/null +++ b/test/spec/ol/control/zoomcontrol.test.js @@ -0,0 +1,16 @@ +goog.provide('ol.test.control.Zoom'); + +describe('ol.control.Zoom', function() { + + describe('constructor', function() { + + it('can be constructed without arguments', function() { + var instance = new ol.control.Zoom(); + expect(instance).to.be.an(ol.control.Zoom); + }); + + }); + +}); + +goog.require('ol.control.Zoom');