Changeset 7686 for anuga_core/source/anuga/utilities/test_polygon.py
- Timestamp:
- Apr 15, 2010, 8:45:36 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/utilities/test_polygon.py
r7308 r7686 1806 1806 assert res is False 1807 1807 1808 def test_is_polygon_complex(self): 1809 concave_poly = [[0, 0], [10, 0], [5, 5], [10, 10], [0, 10]] 1810 complex_poly = [[0, 0], [10, 0], [5, 5], [5, 15], [5, 7], [10, 10], [0, 10]] 1811 1812 assert not is_complex(concave_poly) 1813 assert is_complex(complex_poly) 1814 1815 1808 1816 ################################################################################ 1809 1817
Note: See TracChangeset
for help on using the changeset viewer.