Changeset 11931 in josm for trunk/test/unit/org


Ignore:
Timestamp:
2017-04-16T20:45:20+02:00 (8 years ago)
Author:
Don-vip
Message:

improve unit test coverage

Location:
trunk/test/unit/org/openstreetmap/josm
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/projection/CustomProjectionTest.java

    r10870 r11931  
    1010import org.junit.Rule;
    1111import org.junit.Test;
     12import org.openstreetmap.josm.data.coor.LatLon;
     13import org.openstreetmap.josm.data.projection.CustomProjection.Polarity;
    1214import org.openstreetmap.josm.testutils.JOSMTestRules;
    1315
     
    7173                });
    7274    }
     75
     76    /**
     77     * Test {@link CustomProjection.Polarity}.
     78     */
     79    @Test
     80    public void testPolarity() {
     81        assertEquals(LatLon.NORTH_POLE, Polarity.NORTH.getLatLon());
     82        assertEquals(LatLon.SOUTH_POLE, Polarity.SOUTH.getLatLon());
     83    }
    7384}
Note: See TracChangeset for help on using the changeset viewer.