osrm-backend/unit_tests
Daniel J. Hofmann 9334cc463d Fixes Table not checking for valid phantom nodes
We failed to check if we could actually find phantom nodes for all
coordinates in the table plugin, leading to corrupt internal state.

```
curl 'http://localhost:5000/table/v1/car/7.4151,43.7305;7.4222,43.7368?radiuses=0;'
```

```
[assert][140505627227904] /tmp/osrm-backend/include/engine/routing_algorithms/routing_base.hpp:68
in: void osrm::engine::routing_algorithms::insertNodesInHeap(osrm::engine::SearchEngineData<osrm::engine::routing_algorithms::ch::Algorithm>::ManyToManyQueryHeap&, const osrm::engine::PhantomNode&) [with bool DIRECTION = false; osrm::engine::SearchEngineData<osrm::engine::routing_algorithms::ch::Algorithm>::ManyToManyQueryHeap = osrm::util::BinaryHeap<unsigned int, unsigned int, int, osrm::engine::ManyToManyHeapData, osrm::util::UnorderedMapStorage<unsigned int, int> >]: phantom_node.IsValid()
terminate called without an active exception
```
2017-05-02 13:41:33 +02:00
..
common removed code duplication in unit tests 2017-03-08 16:08:00 +00:00
customizer Fix test compilation 2017-04-05 11:22:39 +00:00
engine Don't remove the last original coordinate during tiding 2017-04-13 21:27:00 +00:00
extractor expose data about turning onto restricted roads to turn function 2017-02-20 12:40:51 +00:00
fixtures Implement raster source feature to read data from third-party sources, to be used in lua profiles. 2015-09-03 22:28:18 -07:00
library Fixes Table not checking for valid phantom nodes 2017-05-02 13:41:33 +02:00
mocks Refactor turn data into own class 2017-04-06 15:42:38 +00:00
partition clang-format 2017-04-04 17:00:36 +00:00
server clang format 2017-02-13 15:49:30 +00:00
util Make PackedVector generic 2017-04-18 17:24:46 +00:00
CMakeLists.txt Move customizer tests to own unit 2017-03-13 23:04:45 +00:00
customizer_tests.cpp Move customizer tests to own unit 2017-03-13 23:04:45 +00:00
engine_tests.cpp Remove license headers from project source files; global license 2016-01-04 19:06:32 +01:00
extractor_tests.cpp Remove license headers from project source files; global license 2016-01-04 19:06:32 +01:00
library_tests.cpp Library tests build system integration 2016-04-05 22:58:32 +02:00
partition_tests.cpp always emit a small component view 2017-03-01 16:09:29 +00:00
server_tests.cpp Add viaroute suport for new API 2016-04-05 22:58:32 +02:00
util_tests.cpp Remove license headers from project source files; global license 2016-01-04 19:06:32 +01:00