Adjust expectation and remove non-valid assertions

This commit is contained in:
Michael Krasnyk 2017-05-19 09:12:30 +02:00 committed by Patrick Niklaus
parent 5c00fc9769
commit 4964d0dcbd
2 changed files with 3 additions and 6 deletions

View File

@ -111,8 +111,8 @@ Feature: Check zero speed updates
"""
When I route I should get
| from | to | bearings | code |
| 1 | 2 | 270 270 | NoRoute |
| from | to | bearings | code |
| 1 | 2 | 270 270 | NoSegment |
Scenario: Via routing on restricted oneway

View File

@ -131,8 +131,6 @@ void search(SearchEngineData<Algorithm> &engine_working_data,
source_phantom.GetReverseWeightPlusOffset(),
source_phantom.reverse_segment_id.id);
}
BOOST_ASSERT(forward_heap.Size() > 0);
BOOST_ASSERT(reverse_heap.Size() > 0);
search(engine_working_data,
facade,
@ -166,8 +164,7 @@ void search(SearchEngineData<Algorithm> &engine_working_data,
source_phantom.GetReverseWeightPlusOffset(),
source_phantom.reverse_segment_id.id);
}
BOOST_ASSERT(forward_heap.Size() > 0);
BOOST_ASSERT(reverse_heap.Size() > 0);
search(engine_working_data,
facade,
forward_heap,