fix up tests, remove _01_. (Closes #1387)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6724 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -11,14 +11,14 @@
|
||||
var polygon = new OpenLayers.Geometry.Polygon([linearRing]);
|
||||
var polygon2 = new OpenLayers.Geometry.Polygon([linearRing2]);
|
||||
|
||||
function test_01_MultiPolygon_constructor (t) {
|
||||
function test_MultiPolygon_constructor (t) {
|
||||
t.plan( 2 );
|
||||
multipolygon = new OpenLayers.Geometry.MultiPolygon();
|
||||
t.ok( multipolygon instanceof OpenLayers.Geometry.MultiPolygon, "new OpenLayers.Geometry.MultiPolygon returns multipolygon object" );
|
||||
t.eq( multipolygon.CLASS_NAME, "OpenLayers.Geometry.MultiPolygon", "multipolygon.CLASS_NAME is set correctly");
|
||||
}
|
||||
|
||||
function test_01a_MultiPolygon_constructor (t) {
|
||||
function test_MultiPolygon_constructor (t) {
|
||||
t.plan( 3 );
|
||||
multipolygon = new OpenLayers.Geometry.MultiPolygon([polygon, polygon2]);
|
||||
t.ok( multipolygon instanceof OpenLayers.Geometry.MultiPolygon, "new OpenLayers.Geometry.MultiPolygon returns multipolygon object" );
|
||||
|
||||
Reference in New Issue
Block a user