Fix new test failures with the tile-reuse branch

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1138 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-08-09 03:54:10 +00:00
parent 0ba7961df4
commit 31af99c64d
2 changed files with 4 additions and 4 deletions

View File

@@ -36,8 +36,8 @@
layer = new OpenLayers.Layer.WMS(name, url, params);
map.addLayer(layer);
map.setCenter(new OpenLayers.LonLat(0,0),5);
t.eq( layer.grid.length, 4, "Grid rows is correct." );
t.eq( layer.grid[0].length, 2, "Grid cols is correct." );
t.eq( layer.grid.length, 7, "Grid rows is correct." );
t.eq( layer.grid[0].length, 6, "Grid cols is correct." );
}

View File

@@ -66,8 +66,8 @@
layer = new OpenLayers.Layer.WMS(name, url, params);
map.addLayer(layer);
map.setCenter(new OpenLayers.LonLat(0,0),5);
t.eq( layer.grid.length, 4, "Grid rows is correct." );
t.eq( layer.grid[0].length, 2, "Grid cols is correct." );
t.eq( layer.grid.length, 7, "Grid rows is correct." );
t.eq( layer.grid[0].length, 6, "Grid cols is correct." );
}