add test scenario matching wiki graph explanation
This commit is contained in:
parent
cbea651cf8
commit
c68a03d05c
22
features/testbot/graph.feature
Normal file
22
features/testbot/graph.feature
Normal file
@ -0,0 +1,22 @@
|
||||
@routing @graph
|
||||
Feature: Basic Routing
|
||||
Test the input data descibed on https://github.com/DennisOSRM/Project-OSRM/wiki/Graph-representation
|
||||
|
||||
Background:
|
||||
Given the profile "testbot"
|
||||
|
||||
@smallest
|
||||
Scenario: Graph transformation
|
||||
Given the node map
|
||||
| | | d |
|
||||
| a | b | c |
|
||||
| | | e |
|
||||
|
||||
And the ways
|
||||
| nodes |
|
||||
| abc |
|
||||
| dce |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route |
|
||||
| a | e | abc,dce |
|
Loading…
Reference in New Issue
Block a user