Changeset 13969 in josm for trunk/test
- Timestamp:
- 2018-06-23T11:59:58+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/SimplePrimitiveIdTest.java
r11104 r13969 63 63 assertEquals("[relation 123, relation 124, way 345, way 346, node 789]", 64 64 SimplePrimitiveId.fuzzyParse("foo relation/123-24 and way/345-346 but also node/789").toString()); 65 assertEquals("[]", 66 SimplePrimitiveId.fuzzyParse("foo relation/0 bar").toString()); 65 67 } 66 68 … … 93 95 assertEquals("[node 234, node 235]", SimplePrimitiveId.multipleFromString("node/234-235").toString()); 94 96 assertEquals("[node 998, node 999, node 1000, node 1001]", SimplePrimitiveId.multipleFromString("node/998-1001").toString()); 97 assertEquals("[]", SimplePrimitiveId.multipleFromString("node/0").toString()); 95 98 } 96 99
Note:
See TracChangeset
for help on using the changeset viewer.