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