There is 2 tests for the getLength function, remove one of them

git-svn-id: http://svn.openlayers.org/trunk/openlayers@5348 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2007-12-05 13:25:05 +00:00
parent e58ba687cd
commit 6b1b2f0f37

View File

@@ -40,18 +40,6 @@
t.ok( rect.bounds.equals(testBounds), "calculateBounds works correctly");
}
function test_03_Rectangle_getLength(t) {
var x = 1;
var y = 2;
var w = 10;
var h = 20;
var rect = new OpenLayers.Geometry.Rectangle(x, y, w, h);
var testLength = (2 * w) + (2 * h);
t.eq(rect.getLength(), testLength, "getLength() works");
}
function test_03_Rectangle_getLength(t) {
t.plan(1);