Changeset 17275 in josm for trunk/test/unit/org/openstreetmap/josm/data/coor/conversion/ICoordinateFormatTest.java
- Timestamp:
- 2020-10-28T20:41:00+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/coor/conversion/ICoordinateFormatTest.java
r16438 r17275 2 2 package org.openstreetmap.josm.data.coor.conversion; 3 3 4 import static org.junit. Assert.assertEquals;4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 5 6 6 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 7 7 8 import org.junit. Rule;9 import org.junit. Test;8 import org.junit.jupiter.api.extension.RegisterExtension; 9 import org.junit.jupiter.api.Test; 10 10 import org.openstreetmap.josm.data.coor.ILatLon; 11 11 import org.openstreetmap.josm.data.coor.LatLon; … … 15 15 * Test for {@link ICoordinateFormat} implementations. 16 16 */ 17 publicclass ICoordinateFormatTest {17 class ICoordinateFormatTest { 18 18 /** 19 19 * Setup test. 20 20 */ 21 @R ule21 @RegisterExtension 22 22 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 23 23 public JOSMTestRules test = new JOSMTestRules().projection(); … … 30 30 */ 31 31 @Test 32 publicvoid testFormatting() {32 void testFormatting() { 33 33 LatLon c = new LatLon(47.000000, 19.000000); 34 34 assertEquals("47.0", DecimalDegreesCoordinateFormat.INSTANCE.latToString(c));
Note:
See TracChangeset
for help on using the changeset viewer.