From f0d3cf4e43ef5ec214e2a2196f33753a8e50b85a Mon Sep 17 00:00:00 2001 From: Moritz Kobitzsch Date: Thu, 20 Jul 2017 11:51:54 +0200 Subject: [PATCH] removing duplicated test --- features/testbot/penalty.feature | 72 ++++++++++++-------------------- 1 file changed, 26 insertions(+), 46 deletions(-) diff --git a/features/testbot/penalty.feature b/features/testbot/penalty.feature index 6e30b326c..4b906ccbf 100644 --- a/features/testbot/penalty.feature +++ b/features/testbot/penalty.feature @@ -72,55 +72,35 @@ Feature: Penalties | from | to | route | time | | a | e | abcde,abcde | 61s +-1 | - @todo - Scenario: Signal penalty should not depend on way type - Given the node map - """ - a b c - d e f - g h i - """ + @todo + Scenario: Signal penalty should not depend on way type + Given the node map + """ + a b c + d e f + g h i + """ - And the nodes - | node | highway | - | b | traffic_signals | - | e | traffic_signals | - | h | traffic_signals | + And the nodes + | node | highway | + | b | traffic_signals | + | e | traffic_signals | + | h | traffic_signals | - And the ways - | nodes | highway | - | abc | primary | - | def | secondary | - | ghi | tertiary | + And the ways + | nodes | highway | + | abc | primary | + | def | secondary | + | ghi | tertiary | - When I route I should get - | from | to | route | time | - | a | b | abc,abc | 10s +-1 | - | a | c | abc,abc | 27s +-1 | - | d | e | def,def | 20s +-1 | - | d | f | def,def | 47s +-1 | - | g | h | ghi,ghi | 30s +-1 | - | g | i | ghi,ghi | 67s +-1 | - - Scenario: Passing multiple traffic signals should incur a accumulated delay - Given the node map - """ - a b c d e - """ - - And the nodes - | node | highway | - | b | traffic_signals | - | c | traffic_signals | - | d | traffic_signals | - - And the ways - | nodes | - | abcde | - - When I route I should get - | from | to | route | time | - | a | e | abcde,abcde | 61s +-1 | + When I route I should get + | from | to | route | time | + | a | b | abc,abc | 10s +-1 | + | a | c | abc,abc | 27s +-1 | + | d | e | def,def | 20s +-1 | + | d | f | def,def | 47s +-1 | + | g | h | ghi,ghi | 30s +-1 | + | g | i | ghi,ghi | 67s +-1 | @todo Scenario: Starting or ending at a traffic signal should not incur a delay