Changeset 9810 in josm for trunk/test


Ignore:
Timestamp:
2016-02-16T23:45:21+01:00 (4 years ago)
Author:
Don-vip
Message:

checkstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/coor/LatLonTest.java

    r9806 r9810  
    1313    private static final double EPSILON = 1e-6;
    1414
     15    /**
     16     * Lat/Lon sample values for unit tests
     17     */
    1518    public static final double[] SAMPLE_VALUES = new double[]{
    1619            -180.0, -179.9, -179.6, -179.5, -179.4, -179.1, -179.0, -100.0, -99.9, -10.0, -9.9, -1.0, -0.1,
     
    135138        LatLon e = new LatLon(47.000000, 19.000001);
    136139        LatLon n = new LatLon(47.000001, 19.000000);
    137         assertEquals(  0, Math.toDegrees(c.bearing(n)), EPSILON);
    138         assertEquals( 90, Math.toDegrees(c.bearing(e)), EPSILON);
     140        assertEquals(0, Math.toDegrees(c.bearing(n)), EPSILON);
     141        assertEquals(90, Math.toDegrees(c.bearing(e)), EPSILON);
    139142        assertEquals(180, Math.toDegrees(n.bearing(c)), EPSILON);
    140143        assertEquals(270, Math.toDegrees(e.bearing(c)), EPSILON);
Note: See TracChangeset for help on using the changeset viewer.