Created
October 2, 2012 18:30
-
-
Save emiltin/3822100 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~/code/Project-OSRM$ (distance_precision) cuc --tags @distance | |
| Using the default profile... | |
| @routing @distance | |
| Feature: Distance calculation | |
| Background: # features/testbot/distance.feature:4 | |
| Given the speedprofile "testbot" # features/step_definitions/data.rb:1 | |
| Scenario: Distance should equal sum of segments, leftwinded # features/testbot/distance.feature:7 | |
| Given the node map # features/step_definitions/data.rb:9 | |
| | e | | | |
| | d | c | | |
| | a | b | | |
| And the ways # features/step_definitions/data.rb:50 | |
| | nodes | | |
| | abcde | | |
| When I route I should get # features/step_definitions/routing.rb:190 | |
| | from | to | route | distance | | |
| | a | d | abcde | 300m +-1 | | |
| | a | d | abcde | 298 | | |
| Tables were not identical (Cucumber::Ast::Table::Different) | |
| ./features/support/cucumber.rb:74:in `routing_diff!' | |
| ./features/step_definitions/routing.rb:270:in `/^I route I should get$/' | |
| features/testbot/distance.feature:17:in `When I route I should get' | |
| Scenario: Distance should equal sum of segments, rightwinded # features/testbot/distance.feature:21 | |
| Given the node map # features/step_definitions/data.rb:9 | |
| | | e | | |
| | c | d | | |
| | b | a | | |
| And the ways # features/step_definitions/data.rb:50 | |
| | nodes | | |
| | abcde | | |
| When I route I should get # features/step_definitions/routing.rb:190 | |
| | from | to | route | distance | | |
| | a | d | abcde | 300m +-1 | | |
| | a | d | abcde | 298 | | |
| Tables were not identical (Cucumber::Ast::Table::Different) | |
| ./features/support/cucumber.rb:74:in `routing_diff!' | |
| ./features/step_definitions/routing.rb:270:in `/^I route I should get$/' | |
| features/testbot/distance.feature:31:in `When I route I should get' | |
| Scenario: 1m distances # features/testbot/distance.feature:35 | |
| Given a grid size of 1 meters # features/step_definitions/data.rb:5 | |
| Given the node map # features/step_definitions/data.rb:9 | |
| | a | b | | |
| | | c | | |
| And the ways # features/step_definitions/data.rb:50 | |
| | nodes | | |
| | abc | | |
| When I route I should get # features/step_definitions/routing.rb:190 | |
| | from | to | route | distance | | |
| | a | b | abc | 1m +-1 | | |
| | a | b | | 1m +-1 | | |
| | b | a | abc | 1m +-1 | | |
| | b | a | | 1m +-1 | | |
| | b | c | abc | 1m +-1 | | |
| | c | b | abc | 1m +-1 | | |
| | a | c | abc | 2m +-1 | | |
| | c | a | abc | 2m +-1 | | |
| Tables were not identical (Cucumber::Ast::Table::Different) | |
| ./features/support/cucumber.rb:74:in `routing_diff!' | |
| ./features/step_definitions/routing.rb:270:in `/^I route I should get$/' | |
| features/testbot/distance.feature:45:in `When I route I should get' | |
| Scenario: 10m distances # features/testbot/distance.feature:54 | |
| Given a grid size of 10 meters # features/step_definitions/data.rb:5 | |
| Given the node map # features/step_definitions/data.rb:9 | |
| | a | b | | |
| | | c | | |
| And the ways # features/step_definitions/data.rb:50 | |
| | nodes | | |
| | abc | | |
| When I route I should get # features/step_definitions/routing.rb:190 | |
| | from | to | route | distance | | |
| | a | b | abc | 10m +-1 | | |
| | b | a | abc | 10m +-1 | | |
| | b | c | abc | 10m +-1 | | |
| | c | b | abc | 10m +-1 | | |
| | a | c | abc | 20m +-1 | | |
| | c | a | abc | 20m +-1 | | |
| Scenario: 100m distances # features/testbot/distance.feature:73 | |
| Given a grid size of 100 meters # features/step_definitions/data.rb:5 | |
| Given the node map # features/step_definitions/data.rb:9 | |
| | a | b | | |
| | | c | | |
| And the ways # features/step_definitions/data.rb:50 | |
| | nodes | | |
| | abc | | |
| When I route I should get # features/step_definitions/routing.rb:190 | |
| | from | to | route | distance | | |
| | a | b | abc | 100m +-1 | | |
| | b | a | abc | 100m +-1 | | |
| | b | c | abc | 100m +-1 | | |
| | c | b | abc | 100m +-1 | | |
| | a | c | abc | 200m +-1 | | |
| | c | a | abc | 200m +-1 | | |
| Scenario: 1km distance # features/testbot/distance.feature:92 | |
| Given a grid size of 1000 meters # features/step_definitions/data.rb:5 | |
| Given the node map # features/step_definitions/data.rb:9 | |
| | a | b | | |
| | | c | | |
| And the ways # features/step_definitions/data.rb:50 | |
| | nodes | | |
| | abc | | |
| When I route I should get # features/step_definitions/routing.rb:190 | |
| | from | to | route | distance | | |
| | a | b | abc | 1000m +-1 | | |
| | b | a | abc | 1000m +-1 | | |
| | b | c | abc | 1000m +-1 | | |
| | c | b | abc | 1000m +-1 | | |
| | a | c | abc | 2000m +-1 | | |
| | c | a | abc | 2000m +-1 | | |
| @winding | |
| Scenario: Distance of a winding south-north path # features/testbot/distance.feature:112 | |
| Given a grid size of 10 meters # features/step_definitions/data.rb:5 | |
| Given the node map # features/step_definitions/data.rb:9 | |
| | a | b | | |
| | d | c | | |
| | e | f | | |
| | h | g | | |
| And the ways # features/step_definitions/data.rb:50 | |
| | nodes | | |
| | abcdefgh | | |
| When I route I should get # features/step_definitions/routing.rb:190 | |
| | from | to | route | distance | | |
| | a | b | abcdefgh | 10m +-1 | | |
| | a | c | abcdefgh | 20m +-1 | | |
| | a | d | abcdefgh | 30m +-1 | | |
| | a | d | abcdefgh | 28 | | |
| | a | e | abcdefgh | 40m +-1 | | |
| | a | e | abcdefgh | 38 | | |
| | a | f | abcdefgh | 50m +-1 | | |
| | a | f | abcdefgh | 47 | | |
| | a | g | abcdefgh | 60m +-1 | | |
| | a | g | abcdefgh | 57 | | |
| | a | h | abcdefgh | 70m +-1 | | |
| | a | h | abcdefgh | 66 | | |
| Tables were not identical (Cucumber::Ast::Table::Different) | |
| ./features/support/cucumber.rb:74:in `routing_diff!' | |
| ./features/step_definitions/routing.rb:270:in `/^I route I should get$/' | |
| features/testbot/distance.feature:124:in `When I route I should get' | |
| @winding | |
| Scenario: Distance of a winding east-west path # features/testbot/distance.feature:135 | |
| Given a grid size of 10 meters # features/step_definitions/data.rb:5 | |
| Given the node map # features/step_definitions/data.rb:9 | |
| | a | d | e | h | | |
| | b | c | f | g | | |
| And the ways # features/step_definitions/data.rb:50 | |
| | nodes | | |
| | abcdefgh | | |
| When I route I should get # features/step_definitions/routing.rb:190 | |
| | from | to | route | distance | | |
| | a | b | abcdefgh | 10m +-1 | | |
| | a | c | abcdefgh | 20m +-1 | | |
| | a | d | abcdefgh | 30m +-1 | | |
| | a | e | abcdefgh | 40m +-1 | | |
| | a | f | abcdefgh | 50m +-1 | | |
| | a | g | abcdefgh | 60m +-1 | | |
| | a | h | abcdefgh | 70m +-1 | | |
| Scenario: Geometric distances # features/testbot/distance.feature:155 | |
| Given a grid size of 1000 meters # features/step_definitions/data.rb:5 | |
| Given the node map # features/step_definitions/data.rb:9 | |
| | v | w | y | a | b | c | d | | |
| | u | | | | | | e | | |
| | t | | | | | | f | | |
| | s | | | x | | | g | | |
| | r | | | | | | h | | |
| | q | | | | | | i | | |
| | p | o | n | m | l | k | j | | |
| And the ways # features/step_definitions/data.rb:50 | |
| | nodes | | |
| | xa | | |
| | xb | | |
| | xc | | |
| | xd | | |
| | xe | | |
| | xf | | |
| | xg | | |
| | xh | | |
| | xi | | |
| | xj | | |
| | xk | | |
| | xl | | |
| | xm | | |
| | xn | | |
| | xo | | |
| | xp | | |
| | xq | | |
| | xr | | |
| | xs | | |
| | xt | | |
| | xu | | |
| | xv | | |
| | xw | | |
| | xy | | |
| When I route I should get # features/step_definitions/routing.rb:190 | |
| | from | to | route | distance | | |
| | x | a | xa | 3000m +-1 | | |
| | x | b | xb | 3160m +-1 | | |
| | x | b | xb | 3163 | | |
| | x | c | xc | 3610m +-1 | | |
| | x | c | xc | 3606 | | |
| | x | d | xd | 4240m +-1 | | |
| | x | d | xd | 4243 | | |
| | x | e | xe | 3610m +-1 | | |
| | x | e | xe | 3605 | | |
| | x | f | xf | 3160m +-1 | | |
| | x | f | xf | 3162 | | |
| | x | g | xg | 3000m +-1 | | |
| | x | g | xg | 3000m +-1 | | |
| | x | h | xh | 3160m +-1 | | |
| | x | h | xh | 3162 | | |
| | x | i | xi | 3610m +-1 | | |
| | x | i | xi | 3605 | | |
| | x | j | xj | 4240m +-1 | | |
| | x | j | xj | 4242 | | |
| | x | k | xk | 3610m +-1 | | |
| | x | k | xk | 3605 | | |
| | x | l | xl | 3160m +-1 | | |
| | x | l | xl | 3162 | | |
| | x | m | xm | 3000m +-1 | | |
| | x | m | xm | 3000m +-1 | | |
| | x | n | xn | 3160m +-1 | | |
| | x | n | xn | 3162 | | |
| | x | o | xo | 3610m +-1 | | |
| | x | o | xo | 3605 | | |
| | x | p | xp | 4240m +-1 | | |
| | x | p | xp | 4242 | | |
| | x | q | xq | 3610m +-1 | | |
| | x | q | xq | 3605 | | |
| | x | r | xr | 3160m +-1 | | |
| | x | r | xr | 3162 | | |
| | x | s | xs | 3000m +-1 | | |
| | x | s | xs | 3000m +-1 | | |
| | x | t | xt | 3160m +-1 | | |
| | x | t | xt | 3162 | | |
| | x | u | xu | 3610m +-1 | | |
| | x | u | xu | 3605 | | |
| | x | v | xv | 4240m +-1 | | |
| | x | v | xv | 4243 | | |
| | x | w | xw | 3610m +-1 | | |
| | x | w | xw | 3606 | | |
| | x | y | xy | 3160m +-1 | | |
| | x | y | xy | 3163 | | |
| Tables were not identical (Cucumber::Ast::Table::Different) | |
| ./features/support/cucumber.rb:74:in `routing_diff!' | |
| ./features/step_definitions/routing.rb:270:in `/^I route I should get$/' | |
| features/testbot/distance.feature:193:in `When I route I should get' | |
| Failing Scenarios: | |
| cucumber features/testbot/distance.feature:7 # Scenario: Distance should equal sum of segments, leftwinded | |
| cucumber features/testbot/distance.feature:21 # Scenario: Distance should equal sum of segments, rightwinded | |
| cucumber features/testbot/distance.feature:35 # Scenario: 1m distances | |
| cucumber features/testbot/distance.feature:112 # Scenario: Distance of a winding south-north path | |
| cucumber features/testbot/distance.feature:155 # Scenario: Geometric distances | |
| 9 scenarios (5 failed, 4 passed) | |
| 43 steps (5 failed, 38 passed) | |
| 0m4.847s |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
colors from the output get lost, but all rows that lack the +- at the end are failed (grey) incorrect results