Fixing test to reflect new nn grid data structure

This commit is contained in:
Dennis Luxen 2013-06-26 11:35:25 -04:00
parent 72cda375c8
commit 163cfda282

View File

@ -1,9 +1,9 @@
@routing @testbot @via @routing @testbot @via
Feature: Via points Feature: Via points
Background: Background:
Given the profile "testbot" Given the profile "testbot"
Scenario: Simple via point Scenario: Simple via point
Given the node map Given the node map
| a | b | c | | a | b | c |
@ -21,12 +21,12 @@ Feature: Via points
Given the node map Given the node map
| a | b | c | | a | b | c |
| | d | | | | d | |
And the ways And the ways
| nodes | | nodes |
| abc | | abc |
| bd | | bd |
When I route I should get When I route I should get
| waypoints | route | | waypoints | route |
| a,d,c | abc,bd,bd,abc | | a,d,c | abc,bd,bd,abc |
@ -34,19 +34,19 @@ Feature: Via points
Scenario: Multiple via points Scenario: Multiple via points
Given the node map Given the node map
| a | | c | | e | | | a | | | | e | f | g | |
| | b | | d | | f | | | b | c | d | | | | h |
And the ways And the ways
| nodes | | nodes |
| ace | | ae |
| bdf |
| ab | | ab |
| bc | | bcd |
| cd |
| de | | de |
| ef | | efg |
| gh |
| dh |
When I route I should get When I route I should get
| waypoints | route | | waypoints | route |
| a,b,c,d,e,f | ab,bc,cd,de,ef | | a,c,f,h | ab,bcd,de,efg,gh |