Skip to content
Permalink
Browse files

Add some more basic area and length unit test cases

  • Loading branch information
nyalldawson committed Oct 16, 2015
1 parent 0151227 commit f7550b3515f8d3a2aac8688515529261a848a5c9
Showing with 6 additions and 0 deletions.
  1. +4 −0 tests/testdata/area_data.csv
  2. +2 −0 tests/testdata/length_data.csv
@@ -11,3 +11,7 @@ GeometryCollection ()|0
Polygon ((60 180, 140 240, 140 240, 140 240, 200 180, 120 120, 60 180))|8400
Polygon ((60 180, 140 120, 100 180, 140 240, 60 180))|2400
Polygon ((60 180, 140 120, 100 180, 140 240, 140 240, 60 180))|2400
Polygon ((1 1,2 2,3 1,2 0,1 1))|2.0
Polygon ((0 0,0 7,4 2,2 0,0 0))|16.0
Polygon ((0 0,0 7,4 2,2 0,0 0), (1 1,2 1,2 2,1 2,1 1))|15.0
Polygon ((1872000 528000,1872000 192000,1536119 192000,1536000 528000,1200000 528000,1200000 863880,1536000 863880,1872000 863880,1872000 528000))|338587368000
@@ -9,3 +9,5 @@ MultiLineString ()|0
MultiPoint ()|0
GeometryCollection ()|0
LineString (0 0, 10 10, 20 0)|28.2842712
LineString (0 0,3 4)|5
LineString (0 0,3 4,4 3)|6.4142135624

0 comments on commit f7550b3

Please sign in to comment.
You can’t perform that action at this time.