Changeset 6467 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2013-12-10T20:47:49+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/dialogs/relation/sort/WayConnectionTypeCalculatorTest.java
r5630 r6467 83 83 Assert.assertEquals("[NONE, NONE, FORWARD, FORWARD, NONE, NONE, NONE, I, I]", actual); 84 84 actual = getConnections(wayConnectionTypeCalculator.updateLinks(sorter.sortMembers(relation.getMembers()))); 85 Assert.assertEquals("[ BACKWARD, BACKWARD, BACKWARD, BACKWARD, BACKWARD, BACKWARD, NONE, I, I]", actual);85 Assert.assertEquals("[FORWARD, FORWARD, FORWARD, FORWARD, BACKWARD, BACKWARD, NONE, I, I]", actual); 86 86 } 87 87 … … 90 90 Relation relation = getRelation("associatedStreet"); 91 91 String actual = getConnections(wayConnectionTypeCalculator.updateLinks(relation.getMembers())); 92 Assert.assertEquals("[ FORWARD, FORWARD, I, I, I, I]" , actual);92 Assert.assertEquals("[NONE, I, I, I, NONE, I]" , actual); 93 93 actual = getConnections(wayConnectionTypeCalculator.updateLinks(sorter.sortMembers(relation.getMembers()))); 94 Assert.assertEquals("[ I, I, I, I, FORWARD, FORWARD]", actual);94 Assert.assertEquals("[FORWARD, FORWARD, I, I, I, I]", actual); 95 95 } 96 96
Note:
See TracChangeset
for help on using the changeset viewer.