Add basic test for ol.DeviceOrientation

This commit is contained in:
Marc Jansen
2015-04-07 22:57:25 +02:00
parent 481869bea6
commit 248d3071a3

View File

@@ -0,0 +1,16 @@
goog.provide('ol.test.DeviceOrientation');
describe('ol.DeviceOrientation', function() {
describe('constructor', function() {
it('can be constructed without arguments', function() {
var instance = new ol.DeviceOrientation();
expect(instance).to.be.an(ol.DeviceOrientation);
});
});
});
goog.require('ol.DeviceOrientation');