remove a few tests that are simply testing same code paths as others
This commit is contained in:
committed by
Daniel J. H
parent
d796c66990
commit
3a01ba52ef
@@ -1,35 +0,0 @@
|
||||
@routing @datastore @testbot
|
||||
Feature: Temporary tests related to osrm-datastore
|
||||
|
||||
Background:
|
||||
Given the profile "testbot"
|
||||
|
||||
Scenario: Scenario ab
|
||||
Given the node map
|
||||
"""
|
||||
a b
|
||||
"""
|
||||
|
||||
And the ways
|
||||
| nodes |
|
||||
| ab |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route |
|
||||
| a | b | ab,ab |
|
||||
| b | a | ab,ab |
|
||||
|
||||
Scenario: Scenaria xy
|
||||
Given the node map
|
||||
"""
|
||||
x y
|
||||
"""
|
||||
|
||||
And the ways
|
||||
| nodes |
|
||||
| xy |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route |
|
||||
| x | y | xy,xy |
|
||||
| y | x | xy,xy |
|
||||
@@ -226,23 +226,3 @@ Feature: Distance calculation
|
||||
| x | v | xv,xv | 424m +-1 |
|
||||
| x | w | xw,xw | 360m +-1 |
|
||||
| x | y | xy,xy | 316m +-1 |
|
||||
|
||||
@maze
|
||||
Scenario: Distance of a maze of short segments
|
||||
Given a grid size of 7 meters
|
||||
Given the node map
|
||||
"""
|
||||
a b s t
|
||||
d c r q
|
||||
e f o p
|
||||
h g n m
|
||||
i j k l
|
||||
"""
|
||||
|
||||
And the ways
|
||||
| nodes |
|
||||
| abcdefghijklmnopqrst |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | distance |
|
||||
| a | t | abcdefghijklmnopqrst,abcdefghijklmnopqrst | 133m +-1 |
|
||||
|
||||
@@ -21,12 +21,12 @@ Feature: Durations
|
||||
| ef | primary | 01:02:03 |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | distance | time |
|
||||
| a | b | ab,ab | 100m +-1 | 60s +-1 |
|
||||
| b | c | bc,bc | 200m +-1 | 600s +-1 |
|
||||
| c | d | cd,cd | 300m +-1 | 3600s +-1 |
|
||||
| d | e | de,de | 141m +-2 | 36000s +-1 |
|
||||
| e | f | ef,ef | 224m +-2 | 3723s +-1 |
|
||||
| from | to | route | time |
|
||||
| a | b | ab,ab | 60s +-1 |
|
||||
| b | c | bc,bc | 600s +-1 |
|
||||
| c | d | cd,cd | 3600s +-1 |
|
||||
| d | e | de,de | 36000s +-1 |
|
||||
| e | f | ef,ef | 3723s +-1 |
|
||||
|
||||
@todo
|
||||
Scenario: Partial duration of ways
|
||||
@@ -40,7 +40,7 @@ Feature: Durations
|
||||
| abc | primary | 0:01 |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | distance | time |
|
||||
| a | c | abc,abc | 300m +-1 | 60s +-1 |
|
||||
| a | b | ab,ab | 100m +-1 | 20s +-1 |
|
||||
| b | c | bc,bc | 200m +-1 | 40s +-1 |
|
||||
| from | to | route | time |
|
||||
| a | c | abc,abc | 60s +-1 |
|
||||
| a | b | ab,ab | 20s +-1 |
|
||||
| b | c | bc,bc | 40s +-1 |
|
||||
|
||||
@@ -5,51 +5,6 @@ Feature: Testbot - oneways
|
||||
Given the profile "testbot"
|
||||
Given a grid size of 250 meters
|
||||
|
||||
Scenario: Routing on a oneway roundabout
|
||||
Given the node map
|
||||
"""
|
||||
v
|
||||
x d c
|
||||
e b
|
||||
f a
|
||||
g h y
|
||||
z
|
||||
"""
|
||||
|
||||
And the ways
|
||||
| nodes | oneway |
|
||||
| ab | yes |
|
||||
| bc | yes |
|
||||
| cd | yes |
|
||||
| de | yes |
|
||||
| ef | yes |
|
||||
| fg | yes |
|
||||
| gh | yes |
|
||||
| ha | yes |
|
||||
| vx | yes |
|
||||
| vy | yes |
|
||||
| yz | yes |
|
||||
| xe | yes |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route |
|
||||
| a | b | ab,ab |
|
||||
| b | c | bc,bc |
|
||||
| c | d | cd,cd |
|
||||
| d | e | de,de |
|
||||
| e | f | ef,ef |
|
||||
| f | g | fg,fg |
|
||||
| g | h | gh,gh |
|
||||
| h | a | ha,ha |
|
||||
| b | a | bc,cd,de,ef,fg,gh,ha,ha |
|
||||
| c | b | cd,de,ef,fg,gh,ha,ab,ab |
|
||||
| d | c | de,ef,fg,gh,ha,ab,bc,bc |
|
||||
| e | d | ef,fg,gh,ha,ab,bc,cd,cd |
|
||||
| f | e | fg,gh,ha,ab,bc,cd,de,de |
|
||||
| g | f | gh,ha,ab,bc,cd,de,ef,ef |
|
||||
| h | g | ha,ab,bc,cd,de,ef,fg,fg |
|
||||
| a | h | ab,bc,cd,de,ef,fg,gh,gh |
|
||||
|
||||
Scenario: Testbot - Simple oneway
|
||||
Then routability should be
|
||||
| highway | foot | oneway | forw | backw |
|
||||
@@ -60,27 +15,6 @@ Feature: Testbot - oneways
|
||||
| highway | foot | oneway | forw | backw |
|
||||
| primary | no | -1 | | x |
|
||||
|
||||
Scenario: Testbot - Around the Block
|
||||
Given the node map
|
||||
"""
|
||||
a b
|
||||
e d c f
|
||||
"""
|
||||
|
||||
And the ways
|
||||
| nodes | oneway | foot |
|
||||
| ab | yes | no |
|
||||
| bc | | no |
|
||||
| cd | | no |
|
||||
| da | | no |
|
||||
| de | | no |
|
||||
| cf | | no |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route |
|
||||
| a | b | ab,ab |
|
||||
| b | a | bc,cd,da,da |
|
||||
|
||||
Scenario: Testbot - Handle various oneway tag values
|
||||
Then routability should be
|
||||
| foot | oneway | forw | backw |
|
||||
@@ -93,19 +27,3 @@ Feature: Testbot - oneways
|
||||
| no | true | x | |
|
||||
| no | 1 | x | |
|
||||
| no | -1 | | x |
|
||||
|
||||
Scenario: Testbot - Two consecutive oneways
|
||||
Given the node map
|
||||
"""
|
||||
a b c
|
||||
"""
|
||||
|
||||
And the ways
|
||||
| nodes | oneway |
|
||||
| ab | yes |
|
||||
| bc | yes |
|
||||
|
||||
|
||||
When I route I should get
|
||||
| from | to | route |
|
||||
| a | c | ab,bc,bc |
|
||||
|
||||
Reference in New Issue
Block a user