add test scenario matching wiki graph explanation

This commit is contained in:
Emil Tin 2013-01-26 18:59:31 +01:00
parent cbea651cf8
commit c68a03d05c

View 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 |