Changeset 30578 in osm for applications/editors/josm


Ignore:
Timestamp:
2014-08-09T18:55:28+02:00 (10 years ago)
Author:
donvip
Message:

[josm_elevation] fix unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/ElevationProfile/test/unit/org/openstreetmap/josm/plugins/elevation/tests/EleVertexTest.java

    r30550 r30578  
    102102        assertEquals(Color.gray, c3);
    103103
    104         // test 0.75 (RGB 192 x 3)
    105         Color c4 = testMap.getColor(751);
    106         assertEquals(Color.lightGray, c4);
    107         // test 0.25 (RGB 64 x 3)
    108         Color c5 = testMap.getColor(251);
    109         assertEquals(Color.darkGray, c5);
     104        // test 0.75 (RGB 64 x 3)
     105        Color c4 = testMap.getColor(749);
     106        assertEquals(Color.darkGray, c4);
     107        // test 0.25 (RGB 192 x 3)
     108        Color c5 = testMap.getColor(249);
     109        assertEquals(Color.lightGray, c5);
    110110    }
    111111
Note: See TracChangeset for help on using the changeset viewer.