Update tests
This commit is contained in:
parent
a8fd1b38b7
commit
23c2aa54d0
2 changed files with 4 additions and 2 deletions
|
@ -28,6 +28,8 @@ describe('Static endpoints', function() {
|
|||
testStatic(prefix, '0,0,0/300x300', 'png', 200, 2);
|
||||
testStatic(prefix, '0,0,0/300x300', 'png', 200, 3);
|
||||
|
||||
testStatic(prefix, '0,0,1.5/256x256', 'png', 200);
|
||||
|
||||
testStatic(prefix, '80,40,20/600x300', 'png', 200, 3);
|
||||
testStatic(prefix, '8.5,40.5,20/300x150', 'png', 200, 3);
|
||||
testStatic(prefix, '-8.5,-40.5,20/300x150', 'png', 200, 3);
|
||||
|
@ -48,7 +50,6 @@ describe('Static endpoints', function() {
|
|||
testStatic(prefix, '0,0,0/256x256', 'png', 404, 1);
|
||||
|
||||
testStatic(prefix, '0,0,-1/256x256', 'png', 404);
|
||||
testStatic(prefix, '0,0,1.5/256x256', 'png', 404);
|
||||
testStatic(prefix, '0,0,0/256.5x256.5', 'png', 404);
|
||||
|
||||
testStatic(prefix, '0,0,0,/256x256', 'png', 404);
|
||||
|
|
|
@ -26,6 +26,7 @@ describe('Raster tiles', function() {
|
|||
testTile(prefix, 0, 0, 0, 'png', 200, 2);
|
||||
testTile(prefix, 0, 0, 0, 'png', 200, 3);
|
||||
testTile(prefix, 2, 1, 1, 'png', 200, 3);
|
||||
testTile(prefix, 0, 0, 0, 'png', 200, 4);
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -39,7 +40,7 @@ describe('Raster tiles', function() {
|
|||
testTile(prefix, 0, 0, 0, 'pbf', 400);
|
||||
|
||||
testTile(prefix, 0, 0, 0, 'png', 404, 1);
|
||||
testTile(prefix, 0, 0, 0, 'png', 404, 4);
|
||||
testTile(prefix, 0, 0, 0, 'png', 404, 5);
|
||||
|
||||
//testTile('hybrid', 0, 0, 0, 'png', 404); //TODO: test this
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue