Changeset 10556 in josm for trunk/test


Ignore:
Timestamp:
2016-07-17T20:10:09+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #13159 - fix unit tests (patch by michael2402) - gsoc-core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/layer/imagery/SharpenImageProcessorTest.java

    r10547 r10556  
    4545
    4646        processor.setSharpenLevel(-1);
    47         assertEquals(-1, processor.getSharpenLevel(), 0.001);
     47        assertEquals(0, processor.getSharpenLevel(), 0.001);
    4848
    4949        processor.setSharpenLevel(5);
     
    5757    public void testToString() {
    5858        SharpenImageProcessor processor = new SharpenImageProcessor();
    59         assertEquals("SharpenImageProcessor [gamma=1.0]", processor.toString());
     59        assertEquals("SharpenImageProcessor [sharpenLevel=1.0]", processor.toString());
    6060    }
    6161}
Note: See TracChangeset for help on using the changeset viewer.