From dc2e71a1e46797d652d86d22aa6dd30a92255f53 Mon Sep 17 00:00:00 2001 From: euzuro Date: Thu, 1 Jun 2006 00:12:11 +0000 Subject: [PATCH] merge two fromString tests into one git-svn-id: http://svn.openlayers.org/trunk/openlayers@483 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/test_Bounds.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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) {