Removing debug output

This commit is contained in:
Emil Tin 2013-02-03 18:13:57 +01:00 committed by DennisOSRM
parent c453f8e7a9
commit 73c81a0a6c
3 changed files with 4 additions and 11 deletions

View File

@ -376,7 +376,6 @@ TurnInstruction EdgeBasedGraphFactory::AnalyzeTurn(const NodeID u, const NodeID
return TurnInstructions.NoTurn; return TurnInstructions.NoTurn;
} }
if( (data1.nameID == data2.nameID) && (0 == data1.nameID) && (_nodeBasedGraph->GetOutDegree(v) <= 2) ) { if( (data1.nameID == data2.nameID) && (0 == data1.nameID) && (_nodeBasedGraph->GetOutDegree(v) <= 2) ) {
ERR("should not happen");
return TurnInstructions.NoTurn; return TurnInstructions.NoTurn;
} }

View File

@ -34,10 +34,7 @@ Feature: Bike - Max speed restrictions
@todo @todo
Scenario: Bike - Forward/backward maxspeed Scenario: Bike - Forward/backward maxspeed
Given the node map Given the shortcuts
| a | b | c | d | e | f | g | h |
And the shortcuts
| key | value | | key | value |
| bike | 43s ~10% | | bike | 43s ~10% |
| run | 73s ~10% | | run | 73s ~10% |

View File

@ -35,18 +35,15 @@ Feature: Car - Max speed restrictions
@todo @todo
Scenario: Car - Forward/backward maxspeed Scenario: Car - Forward/backward maxspeed
Given the node map Given the shortcuts
| a | b | c | d | e | f | g | h |
And a grid size of 100 meters
And the shortcuts
| key | value | | key | value |
| car | 12s ~10% | | car | 12s ~10% |
| run | 73s ~10% | | run | 73s ~10% |
| walk | 170s ~10% | | walk | 170s ~10% |
| snail | 720s ~10% | | snail | 720s ~10% |
And a grid size of 100 meters
Then routability should be Then routability should be
| maxspeed | maxspeed:forward | maxspeed:backward | forw | backw | | maxspeed | maxspeed:forward | maxspeed:backward | forw | backw |
| | | | car | car | | | | | car | car |