Ticket #12524: GpxDrawHelperTest.patch

File GpxDrawHelperTest.patch, 946 bytes (added by kolesar, 8 years ago)
  • test/unit/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelperTest.java

    diff --git a/test/unit/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelperTest.java b/test/unit/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelperTest.java
    index 20c9e92..ed17db6 100644
    a b public class GpxDrawHelperTest {  
    9696    public void testDirection() throws IOException, SAXException {
    9797        Main.pref.putInteger("draw.rawgps.colors.layer 003", GpxDrawHelper.ColorMode.DIRECTION.toIndex());
    9898        final List<String> colors = calculateColors("data_nodist/2094047.gpx", "003", 10);
    99         assertEquals("[#FF00FF, #E8EC25, #EDEA26, #EDE625, #ECD622, #ECBC1E, #E8600E, #E73C09, #E8540C, #EA9116]", colors.toString());
     99        assertEquals("[#FF00FF, #EAEC25, #EDEA26, #EDE525, #ECD322, #EBB81D, #E85A0D, #E73708, #E84D0B, #EA8A15]", colors.toString());
    100100    }
    101101
    102102    /**