From 3e4d6f0b029b951b8bd2448d9b1b4118af6ecb02 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Thu, 9 Apr 2015 08:50:31 +0200 Subject: [PATCH] Add basic test for ol.interaction.DragRotateAndZoom --- .../dragrotateandzoominteraction.test.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/spec/ol/interaction/dragrotateandzoominteraction.test.js diff --git a/test/spec/ol/interaction/dragrotateandzoominteraction.test.js b/test/spec/ol/interaction/dragrotateandzoominteraction.test.js new file mode 100644 index 0000000000..a426dd366d --- /dev/null +++ b/test/spec/ol/interaction/dragrotateandzoominteraction.test.js @@ -0,0 +1,16 @@ +goog.provide('ol.test.interaction.DragRotateAndZoom'); + +describe('ol.interaction.DragRotateAndZoom', function() { + + describe('constructor', function() { + + it('can be constructed without arguments', function() { + var instance = new ol.interaction.DragRotateAndZoom(); + expect(instance).to.be.an(ol.interaction.DragRotateAndZoom); + }); + + }); + +}); + +goog.require('ol.interaction.DragRotateAndZoom');