updating tests for [180]. smack me. some of them are still failing. seems like it might be browser-related

git-svn-id: http://svn.openlayers.org/trunk/openlayers@182 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-05-19 15:52:21 +00:00
parent af81e44e9a
commit e114a80311
2 changed files with 13 additions and 9 deletions
+5 -3
View File
@@ -6,9 +6,11 @@
function test_01_Tile_constructor (t) {
t.plan( 9 );
tile = new OpenLayers.Tile(
new OpenLayers.Bounds(1,2,3,4), "",
new OpenLayers.Size(5,6));
tile = new OpenLayers.Tile(null,
new OpenLayers.Bounds(1,2,3,4),
"",
new OpenLayers.Size(5,6) );
t.ok( tile instanceof OpenLayers.Tile, "new OpenLayers.Tile returns Tile object" );
t.ok( tile.bounds instanceof OpenLayers.Bounds, "tile.bounds is a Bounds object" );
t.eq( tile.bounds.left, 1, "tile.bounds.left is set correctly");