From 62951f3ab9751686598ac1635b66c0d541cdb91e Mon Sep 17 00:00:00 2001 From: Emil Tin Date: Tue, 21 Aug 2012 18:43:15 +0200 Subject: [PATCH] add two scenarios to check row-type test mechanism --- features/basic.feature | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/features/basic.feature b/features/basic.feature index 6283ddac6..2435509da 100644 --- a/features/basic.feature +++ b/features/basic.feature @@ -132,5 +132,28 @@ Feature: Basic Routing | c | a | abc | | c | e | cde | | e | c | cde | + + @rows + Scenario: Basic routability using row test + Then routability should be + | highway | forw | backw | + | cycleway | x | x | + | cycleway | x | x | + + @rows + Scenario: Basic routability using node map + This test mimics what the row test above acutally does: construct a map with isolated ways, then route on each. + Given the node map + | a | b | c | d | | | | | | | | | | | | | | | | | | | | | e | f | g | h | + And the ways + | nodes | + | abcd | + | efgh | + When I route I should get + | from | to | route | + | b | c | abcd | + | c | b | abcd | + | f | g | efgh | + | g | f | efgh |