Changeset 13702 in josm
- Timestamp:
- 2018-05-05T20:50:13+02:00 (7 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/data/projection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRegressionTest.java
r13659 r13702 113 113 } 114 114 115 private static EastNorth getRoundedToOsmPrecision(double east, double north) {116 return new EastNorth(LatLon.roundToOsmPrecision(east), LatLon.roundToOsmPrecision(north));117 }118 119 115 private static List<TestData> readData() throws IOException, FileNotFoundException { 120 116 try (BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(PROJECTION_DATA_FILE), -
trunk/test/unit/org/openstreetmap/josm/data/projection/SwissGridTest.java
r12795 r13702 15 15 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 16 16 17 /** 18 * Unit tests for the Swiss projection grid. 19 */ 17 20 public class SwissGridTest { 18 21 private static final String SWISS_EPSG_CODE = "EPSG:21781"; … … 80 83 } 81 84 85 /** 86 * Test projection accuracy. 87 */ 82 88 @Test 83 89 public void testProjReferenceTestAccurate() { … … 85 91 } 86 92 93 /** 94 * Unit test A: lat/lon => east/north 95 */ 87 96 @Test 88 97 public void testAlatlon2eastNorth() { … … 129 138 } 130 139 140 /** 141 * Unit test B: east/north => lat/lon 142 */ 131 143 @Test 132 144 public void testBeastNorth2latlon() {
Note:
See TracChangeset
for help on using the changeset viewer.