MCPcopy Create free account
hub / github.com/Fields2Cover/Fields2Cover / create_polygons_test

Function create_polygons_test

tests/python/utils/random_test.py:16–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15
16def create_polygons_test():
17 ring = f2c.LinearRing(f2c.VectorPoint([f2c.Point(-10,0), f2c.Point(-10,20), \
18 f2c.Point(10,20), f2c.Point(10,0), f2c.Point(-10,0)]));
19 return ring;
20
21def test_fields2cover_utils_GeometryOp_getDims():
22 polys = [create_polygons_test()];

Calls 2

LinearRingMethod · 0.80
PointMethod · 0.80

Tested by

no test coverage detected