Skip to content

Commit

Permalink
feat: (test) remove pre check
Browse files Browse the repository at this point in the history
  • Loading branch information
Justinidlerz committed Jan 30, 2019
1 parent 47bea54 commit 1420ffe
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions test/suite/geometries/Cube.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,34 +31,6 @@ suite('CubeGeometry', function() {
return false;
}

suite('malformed levels', function() {

test('level size must not be smaller than parent level', function() {
assert.throws(function() {
new Cube([{ tileSize: 512, size: 512 }, { tileSize: 512, size: 500 }]);
});
});

test('level size must be multiple of parent level', function() {
assert.throws(function() {
new Cube([{ tileSize: 512, size: 512 }, { tileSize: 512, size: 1000 }]);
});
});

test('number of tiles in level must not be smaller than parent level', function() {
assert.throws(function() {
new Cube([{ tileSize: 128, size: 512 }, { tileSize: 512, size: 1024 }]);
});
});

test('number of tiles in level must be multiple of parent level', function() {
assert.throws(function() {
new Cube([{ tileSize: 256, size: 512 }, { tileSize: 512, size: 512*3 }]);
});
});

});

suite('levels with constant tile size', function() {

var cube = null;
Expand Down

0 comments on commit 1420ffe

Please sign in to comment.