Skip to content

Commit

Permalink
Added speed round-off error test
Browse files Browse the repository at this point in the history
  • Loading branch information
oxidase authored and Patrick Niklaus committed Jan 20, 2017
1 parent e8167b2 commit fbc7189
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions features/car/speed.feature
Expand Up @@ -35,3 +35,12 @@ Feature: Car - speeds
| primary | | roundabout | 52 km/h | | implied oneway |
| primary | alternating | roundabout | 20 km/h | | implied oneway |
| primary | reversible | roundabout | | | unroutable |

Scenario: Car - Check roundoff errors
Then routability should be

| highway | maxspeed | forw | backw |
| primary | | 52 km/h | 52 km/h |
| primary | 60 | 47 km/h | 47 km/h |
| primary | 60 | 47 km/h | 47 km/h |
| primary | 60 | 47 km/h | 47 km/h |

0 comments on commit fbc7189

Please sign in to comment.