osrm-backend/features/testbot/geometry.feature

29 lines
712 B
Gherkin
Raw Permalink Normal View History

2014-10-09 08:30:06 -04:00
@routing @testbot
Feature: Retrieve geometry
Background: Use some profile
Given the profile "testbot"
@geometry
Scenario: Route retrieving geometry
Given the node locations
| node | lat | lon |
| a | 1.0 | 1.5 |
| b | 2.0 | 2.5 |
| c | 3.0 | 3.5 |
| d | 4.0 | 4.5 |
And the ways
| nodes |
| ab |
| bc |
| cd |
When I route I should get
2016-04-01 05:39:47 -04:00
| from | to | route | geometry |
| a | c | ab,bc,bc | _ibE_~cH_seK_seK |
| b | d | bc,cd,cd | _seK_hgN_seK_seK |
# Mind the \ before the pipes