Changeset 9951 in josm for trunk/test/unit


Ignore:
Timestamp:
2016-03-07T23:29:23+01:00 (4 years ago)
Author:
simon04
Message:

see #11516 - Compute closed way area using Sinusoidal projection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/GeometryTest.java

    r9878 r9951  
    7171            DataSet ds = OsmReader.parseDataSet(in, null);
    7272            Way closedWay = (Way) Utils.filter(ds.allPrimitives(), SearchCompiler.compile("landuse=forest")).iterator().next();
    73             Assert.assertEquals(5721923.660644531, Geometry.closedWayArea(closedWay), 1e-3);
     73            Assert.assertEquals(5760015.7353515625, Geometry.closedWayArea(closedWay), 1e-3);
    7474        }
    7575    }
Note: See TracChangeset for help on using the changeset viewer.