Changeset 9372 in josm for trunk/test
- Timestamp:
- 2016-01-09T23:32:49+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionTest.java
r9370 r9372 87 87 88 88 private LatLon random(Bounds b) { 89 for (int i =0; i<20; i++) {89 for (int i = 0; i < 20; i++) { 90 90 double lat = rand.nextDouble() * (b.getMax().lat() - b.getMin().lat()) + b.getMin().lat(); 91 91 double lon = rand.nextDouble() * (b.getMax().lon() - b.getMin().lon()) + b.getMin().lon(); … … 134 134 } 135 135 Bounds b = p.getWorldBoundsLatLon(); 136 for (int i =0; i<NUM_IT; i++) {136 for (int i = 0; i < NUM_IT; i++) { 137 137 LatLon ll1 = random(b); 138 138 EastNorth en = p.latlon2eastNorth(ll1);
Note:
See TracChangeset
for help on using the changeset viewer.