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
@@ -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,