Changeset 11745 in josm for trunk/test
- Timestamp:
- 2017-03-19T01:16:39+01:00 (8 years ago)
- Location:
- trunk/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/ExifReaderTest.java
r11514 r11745 117 117 118 118 /** 119 * Test speed extraction 120 */ 121 @Test 122 public void testReadSpeed() { 123 assertEquals(Double.valueOf(12.3), ExifReader.readSpeed(new File("data_nodist/exif-example_speed_ele.jpg"))); 124 } 125 126 /** 127 * Test elevation extraction 128 */ 129 @Test 130 public void testReadElevation() { 131 assertEquals(Double.valueOf(23.4), ExifReader.readElevation(new File("data_nodist/exif-example_speed_ele.jpg"))); 132 } 133 134 /** 119 135 * Non-regression test for ticket <a href="https://josm.openstreetmap.de/ticket/11685">#11685</a> 120 136 * @throws IOException if an error occurs during reading
Note:
See TracChangeset
for help on using the changeset viewer.