Changeset 9951 in josm for trunk/test
- Timestamp:
- 2016-03-07T23:29:23+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/GeometryTest.java
r9878 r9951 71 71 DataSet ds = OsmReader.parseDataSet(in, null); 72 72 Way closedWay = (Way) Utils.filter(ds.allPrimitives(), SearchCompiler.compile("landuse=forest")).iterator().next(); 73 Assert.assertEquals(57 21923.660644531, Geometry.closedWayArea(closedWay), 1e-3);73 Assert.assertEquals(5760015.7353515625, Geometry.closedWayArea(closedWay), 1e-3); 74 74 } 75 75 }
Note:
See TracChangeset
for help on using the changeset viewer.