diff --git a/features/testbot/loop.feature b/features/testbot/loop.feature index 72cad33c0..c69e7a251 100644 --- a/features/testbot/loop.feature +++ b/features/testbot/loop.feature @@ -4,6 +4,25 @@ Feature: Avoid weird loops caused by rounding errors Background: Given the profile "testbot" + Scenario: Weired sidestreet loops + Given the node map + | a | 1 | b | 2 | c | 3 | d | + | | | | | | | | + | e | | f | | g | | h | + + And the ways + | nodes | + | aefghd | + | abcd | + | bf | + | cg | + + When I route I should get + | waypoints | route | turns | + | a,1,d | abcd,abcd | head,via,destination | + | a,2,d | abcd,abcd | head,via,destination | + | a,3,d | abcd,abcd | head,via,destination | + Scenario: Avoid weird loops 1 Given the node locations | node | lat | lon |