diff --git a/tests/test_Bounds.html b/tests/test_Bounds.html index b937bd0564..7506978457 100644 --- a/tests/test_Bounds.html +++ b/tests/test_Bounds.html @@ -51,23 +51,21 @@ } function test_05_Bounds_fromString_int(t) { - t.plan( 5 ); + t.plan( 10 ); bounds = OpenLayers.Bounds.fromString("1,2,3,4"); t.ok( bounds instanceof OpenLayers.Bounds, "new OpenLayers.Bounds returns Bounds object" ); t.eq( bounds.left, 1, "bounds.left is set correctly" ); t.eq( bounds.bottom, 2, "bounds.bottom is set correctly" ); t.eq( bounds.right, 3, "bounds.right is set correctly" ); t.eq( bounds.top, 4, "bounds.top is set correctly" ); - } - function test_06_Bounds_fromString_float(t) { - t.plan( 5 ); bounds = OpenLayers.Bounds.fromString("1.1,2.2,3.3,4.4"); t.ok( bounds instanceof OpenLayers.Bounds, "new OpenLayers.Bounds returns Bounds object" ); t.eq( bounds.left, 1.1, "bounds.left is set correctly" ); t.eq( bounds.bottom, 2.2, "bounds.bottom is set correctly" ); t.eq( bounds.right, 3.3, "bounds.right is set correctly" ); t.eq( bounds.top, 4.4, "bounds.top is set correctly" ); + } function test_07_Bounds_copyOf(t) {