示例#1
0
 def test_empty_polygon(self):
     assert round(
         utilities.polygon_area([(0, 0), (90, 0), (0, 90), (90, 90)])) == 0
示例#2
0
 def test_empty_polygon(self):
     assert round(
         utilities.polygon_area([(0, 0), (90, 0), (0, 90), (90, 90)])) == 0