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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user