Skip to content

Commit e2df2ca

Browse files
committed
added hypothesis tests to test_feature.py
1 parent 8f1de59 commit e2df2ca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_feature.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Test Feature and FeatureCollection."""
1+
# """Test Feature and FeatureCollection."""
22

33
import unittest
44

@@ -19,16 +19,16 @@
1919

2020
@composite
2121
def polygons(draw):
22-
"""Generate a polygon geometry"""
23-
"""The polygon is closed"""
22+
# """Generate a polygon geometry"""
23+
# """The polygon is closed"""
2424
coords = draw(coordinates())
2525
coords.append(coords[0])
2626
return geometry.Polygon(coords)
2727

2828

2929
@composite
3030
def coordinates(draw):
31-
"""Generate a list of coordinates for geometries"""
31+
# """Generate a list of coordinates for geometries"""
3232
return draw(
3333
lists(
3434
tuples(
@@ -42,7 +42,7 @@ def coordinates(draw):
4242

4343
@composite
4444
def properties(draw):
45-
"""Generate random properties"""
45+
# """Generate random properties"""
4646
return draw(dictionaries(text(), one_of(text(), floats(), none()), max_size=5))
4747

4848

0 commit comments

Comments
 (0)