2014-10-09 08:30:06 -04:00
|
|
|
@routing @datastore @testbot
|
2014-01-24 15:14:38 -05:00
|
|
|
Feature: Temporary tests related to osrm-datastore
|
|
|
|
|
|
|
|
Background:
|
|
|
|
Given the profile "testbot"
|
|
|
|
|
|
|
|
Scenario: Scenario ab
|
|
|
|
Given the node map
|
|
|
|
| a | b |
|
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes |
|
|
|
|
| ab |
|
|
|
|
|
|
|
|
When I route I should get
|
|
|
|
| from | to | route |
|
2016-04-01 05:39:47 -04:00
|
|
|
| a | b | ab,ab |
|
|
|
|
| b | a | ab,ab |
|
2014-01-24 15:14:38 -05:00
|
|
|
|
|
|
|
Scenario: Scenaria xy
|
|
|
|
Given the node map
|
|
|
|
| x | y |
|
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes |
|
|
|
|
| xy |
|
|
|
|
|
|
|
|
When I route I should get
|
|
|
|
| from | to | route |
|
2016-04-01 05:39:47 -04:00
|
|
|
| x | y | xy,xy |
|
|
|
|
| y | x | xy,xy |
|