Changeset 15843 in josm for trunk/test/unit
- Timestamp:
- 2020-02-11T21:53:29+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/autofilter/AutoFilterRuleTest.java
r15842 r15843 6 6 7 7 import java.util.NoSuchElementException; 8 import java.util.stream.Collectors; 9 import java.util.stream.IntStream; 8 10 9 11 import org.junit.Rule; … … 42 44 assertTagValuesForPrimitive(level, "way level=10;12-13", 20, 24, 25, 26); 43 45 assertTagValuesForPrimitive(level, "way level=0;0.5;1;1.5;2;2.5;3", 0, 1, 2, 3, 4, 5, 6); 46 assertEquals("0 0.5 1 1.5 2 2.5 3", 47 IntStream.of(0, 1, 2, 3, 4, 5, 6).mapToObj(level::formatValue).collect(Collectors.joining(" "))); 44 48 } 45 49
Note:
See TracChangeset
for help on using the changeset viewer.