Changeset 13598 in josm for trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionTest.java
- Timestamp:
- 2018-04-05T19:03:04+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionTest.java
r11324 r13598 24 24 String text; 25 25 26 /** 27 * Tests that projections are numerically stable in their definition bounds (round trip error < 1e-5) 28 */ 26 29 @Test 27 30 public void testProjections() { … … 55 58 testProjection(Projections.getProjectionByCode("EPSG:"+Integer.toString(3942+i))); // Lambert CC9 Zones France 56 59 } 60 61 for (int i = 0; i <= 17; ++i) { 62 testProjection(Projections.getProjectionByCode("EPSG:"+Integer.toString(102421+i))); // WGS_1984_ARC_System Zones 63 } 64 65 testProjection(Projections.getProjectionByCode("EPSG:102016")); // North Pole 66 testProjection(Projections.getProjectionByCode("EPSG:102019")); // South Pole 57 67 58 68 if (error) { … … 104 114 Collection<String> projIds; 105 115 116 /** 117 * Tests that projections are numerically stable in their definition bounds (round trip error < epsilon) 118 */ 106 119 @Test 107 120 public void testProjs() { … … 127 140 testProj("merc", 1e-5, ""); 128 141 testProj("sinu", 1e-4, ""); 142 testProj("aeqd", 1e-5, "+lon_0=0dE +lat_0=90dN"); 143 testProj("aeqd", 1e-5, "+lon_0=0dE +lat_0=90dS"); 144 testProj("eqc", 1e-5, ""); 129 145 130 146 if (error2) {
Note:
See TracChangeset
for help on using the changeset viewer.