20 lines
544 B
JavaScript
20 lines
544 B
JavaScript
|
|
defineSuite([
|
||
|
|
'Scene/TileBoundingVolume'
|
||
|
|
], function(
|
||
|
|
TileBoundingVolume) {
|
||
|
|
'use strict';
|
||
|
|
|
||
|
|
it('throws', function() {
|
||
|
|
var boundingVolume = new TileBoundingVolume();
|
||
|
|
expect(function() {
|
||
|
|
boundingVolume.createDebugVolume();
|
||
|
|
}).toThrowDeveloperError();
|
||
|
|
expect(function() {
|
||
|
|
boundingVolume.distanceToCamera();
|
||
|
|
}).toThrowDeveloperError();
|
||
|
|
expect(function() {
|
||
|
|
boundingVolume.intersectPlane();
|
||
|
|
}).toThrowDeveloperError();
|
||
|
|
});
|
||
|
|
});
|