Changeset 6598 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2014-01-02T23:14:44+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/LanesTest.groovy
r6592 r6598 39 39 assert lanes.errors.get(0).getMessage() == "Number of lane dependent values inconsistent in forward direction" 40 40 } 41 42 void test5() { 43 lanes.check(TestUtils.createPrimitive("way lanes:forward=5 turn:lanes:forward=left|right")) 44 assert lanes.errors.get(0).getMessage() == "Number of lanes:forward greater than *:lanes:forward" 45 } 46 47 void test6() { 48 lanes.check(TestUtils.createPrimitive("way lanes:forward=foo|bar turn:lanes:forward=foo+bar")) 49 assert lanes.errors.isEmpty() 50 } 41 51 }
Note:
See TracChangeset
for help on using the changeset viewer.