Add basic test for ol.DeviceOrientation
This commit is contained in:
@@ -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');
|
||||||
Reference in New Issue
Block a user