Changeset 32775 in osm for applications/editors/josm/plugins/ElevationProfile/test
- Timestamp:
- 2016-08-06T00:52:15+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/ElevationProfile/test/unit/org/openstreetmap/josm/plugins/elevation/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ElevationProfile/test/unit/org/openstreetmap/josm/plugins/elevation/tests/EleVertexTest.java
r30578 r32775 4 4 import java.awt.Color; 5 5 import java.util.List; 6 7 import junit.framework.TestCase;8 6 9 7 import org.openstreetmap.josm.Main; … … 13 11 import org.openstreetmap.josm.plugins.elevation.grid.EleCoordinate; 14 12 import org.openstreetmap.josm.plugins.elevation.grid.EleVertex; 13 14 import junit.framework.TestCase; 15 15 16 16 public class EleVertexTest extends TestCase { … … 62 62 63 63 private void recurse(EleVertex v, int depth) { 64 if (!v.isFinished() && depth < 100) {64 if (!v.isFinished() && depth < 100) { 65 65 System.out.println("\tDivide: " + v); 66 66 List<EleVertex> list = v.divide(); … … 90 90 91 91 public void testColorMap() { 92 ColorMap testMap 92 ColorMap testMap = ColorMap.create("Test", new Color[]{Color.white, Color.black}, new int[]{0, 1000}); 93 93 94 94 // range test -
applications/editors/josm/plugins/ElevationProfile/test/unit/org/openstreetmap/josm/plugins/elevation/tests/HgtReaderTest.java
r32351 r32775 67 67 assertFalse("Data missing or void for coor " + l, Double.isNaN(d)); 68 68 69 assertEquals((int) d, expHeight);69 assertEquals((int) d, expHeight); 70 70 } 71 71 }
Note:
See TracChangeset
for help on using the changeset viewer.