Changeset 13702 in josm


Ignore:
Timestamp:
2018-05-05T20:50:13+02:00 (7 years ago)
Author:
Don-vip
Message:

see #16129 - fix Java warnings

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  
    113113    }
    114114
    115     private static EastNorth getRoundedToOsmPrecision(double east, double north) {
    116         return new EastNorth(LatLon.roundToOsmPrecision(east), LatLon.roundToOsmPrecision(north));
    117     }
    118 
    119115    private static List<TestData> readData() throws IOException, FileNotFoundException {
    120116        try (BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(PROJECTION_DATA_FILE),
  • trunk/test/unit/org/openstreetmap/josm/data/projection/SwissGridTest.java

    r12795 r13702  
    1515import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    1616
     17/**
     18 * Unit tests for the Swiss projection grid.
     19 */
    1720public class SwissGridTest {
    1821    private static final String SWISS_EPSG_CODE = "EPSG:21781";
     
    8083    }
    8184
     85    /**
     86     * Test projection accuracy.
     87     */
    8288    @Test
    8389    public void testProjReferenceTestAccurate() {
     
    8591    }
    8692
     93    /**
     94     * Unit test A: lat/lon => east/north
     95     */
    8796    @Test
    8897    public void testAlatlon2eastNorth() {
     
    129138    }
    130139
     140    /**
     141     * Unit test B: east/north => lat/lon
     142     */
    131143    @Test
    132144    public void testBeastNorth2latlon() {
Note: See TracChangeset for help on using the changeset viewer.