1 parent 55bd7da commit 94147a4Copy full SHA for 94147a4
1 file changed
test/common/commontypes/geometry/LinearRingSpec.js
@@ -14,7 +14,7 @@ describe('common_LinearRing Test', function () {
14
expect(linearRing.components[0].id).toEqual(linearRing.components[5].id);
15
for (var i = 0; i < linearRing.components.length; i++) {
16
expect(linearRing.components[i].CLASS_NAME).toEqual("SuperMap.Geometry.Point");
17
- expect(linearRing.components[i].type).toEqual("NONE");
+ expect(linearRing.components[i].type).toEqual("Point");
18
}
19
//获得当前几何对象区域大小,如果是沿顺时针方向的环则是正值,否则为负值
20
var area = linearRing.getArea();
0 commit comments