From dbf15c2db2e2b5d0aeac23703f66b0f891de11c2 Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Sun, 30 Jun 2013 10:41:29 +0200 Subject: [PATCH] add test case for overruled implied oneways On a motorway `oneway=no` should overrule the implied oneway rule. --- features/car/oneway.feature | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/features/car/oneway.feature b/features/car/oneway.feature index b18108539..136a005d2 100644 --- a/features/car/oneway.feature +++ b/features/car/oneway.feature @@ -15,7 +15,7 @@ Handle oneways streets, as defined at http://wiki.openstreetmap.org/wiki/OSM_tag | highway | oneway | forw | backw | | primary | -1 | | x | - Scenario: Car - Implied onewatys + Scenario: Car - Implied oneways Then routability should be | highway | junction | forw | backw | | motorway | | x | | @@ -25,6 +25,12 @@ Handle oneways streets, as defined at http://wiki.openstreetmap.org/wiki/OSM_tag | motorway_link | roundabout | x | | | primary | roundabout | x | | + Scenario: Car - Overrule implied oneway + Then routability should be + | highway | oneway | forw | backw | + | motorway | no | x | x | + | motorway_link | no | x | x | + Scenario: Car - Around the Block Given the node map | a | b | @@ -70,4 +76,4 @@ Handle oneways streets, as defined at http://wiki.openstreetmap.org/wiki/OSM_tag When I route I should get | from | to | route | - | a | c | ab,bc | \ No newline at end of file + | a | c | ab,bc |