Add test cases for exclude and table/match service

This commit is contained in:
Patrick Niklaus 2017-08-16 22:00:24 +00:00 committed by Patrick Niklaus
parent bee1ba8854
commit 0713ef5862

View File

@ -28,6 +28,15 @@ Feature: Testbot - Exclude flags
| a | c | ab,bc,bc |
| a | f | ab,be,ef,ef |
When I match I should get
| trace | matchings | duration |
| ad | ad | 115 |
When I request a travel time matrix I should get
| | a | d |
| a | 0 | 115 |
| d | 115 | 0 |
Scenario: Testbot - exclude motorway
Given the query options
| exclude | motorway |
@ -39,6 +48,15 @@ Feature: Testbot - Exclude flags
| a | c | ab,be,ef,fc,fc |
| a | f | ab,be,ef,ef |
When I match I should get
| trace | matchings | duration |
| ad | ad | 125 |
When I request a travel time matrix I should get
| | a | d |
| a | 0 | 125 |
| d | 125 | 0 |
Scenario: Testbot - exclude toll
Given the query options
| exclude | toll |