Skip to content

Commit

Permalink
failing test showing weird loop, issue 412
Browse files Browse the repository at this point in the history
  • Loading branch information
Emil Tin committed Oct 4, 2013
1 parent 3271969 commit 65df6aa
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions features/testbot/loop.feature
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,29 @@ Feature: Avoid weird loops caused by rounding errors
When I route I should get
| from | to | route | turns |
| x | y | abc | head,destination |

@bug @412
Scenario: Avoid weird loops 3
And the node map
| a | | |
| b | e | |
| | | 1 |
| | | |
| | | 2 |
| | | |
| | c | f |
| | d | |

And the ways
| nodes | highway |
| ab | primary |
| bc | primary |
| cd | primary |
| be | secondary |
| ef | secondary |
| cf | secondary |

When I route I should get
| waypoints | route | turns |
| a,2,d | ab,be,ef,cf,cd | head,left,right,right,left,destination |
| a,1,d | ab,be,ef,cf,cd | head,left,right,right,left,destination |

0 comments on commit 65df6aa

Please sign in to comment.