/srv/osrm/osrm-backend/unit_tests/library
NameSizeModeActions
algorithm.cpp9590644editdlrm
contract.cpp5160644editdlrm
coordinates.hpp12380644editdlrm
customize.cpp5220644editdlrm
equal_json.hpp7210644editdlrm
extract.cpp62130644editdlrm
fixture.hpp6410644editdlrm
json.cpp21320644editdlrm
limits.cpp61220644editdlrm
match.cpp81910644editdlrm
nearest.cpp83640644editdlrm
options.cpp10820644editdlrm
partition.cpp5220644editdlrm
route.cpp290230644editdlrm
table.cpp155810644editdlrm
tile.cpp212470644editdlrm
trip.cpp216070644editdlrm
waypoint_check.hpp12310644editdlrm
Edit: /srv/osrm/osrm-backend/unit_tests/library/algorithm.cpp (959B)
#include #include "fixture.hpp" #include "osrm/exception.hpp" BOOST_AUTO_TEST_SUITE(table) BOOST_AUTO_TEST_CASE(test_incompatible_with_mld) { // Can't use the MLD algorithm with CH data BOOST_CHECK_THROW( getOSRM(OSRM_TEST_DATA_DIR "/ch/monaco.osrm", osrm::EngineConfig::Algorithm::MLD), osrm::exception); } BOOST_AUTO_TEST_CASE(test_compatible_with_corech_fallback) { // Note - this tests that given the CoreCH algorithm config option, configuration falls back to // CH and is compatible with CH data BOOST_CHECK_NO_THROW( getOSRM(OSRM_TEST_DATA_DIR "/ch/monaco.osrm", osrm::EngineConfig::Algorithm::CoreCH)); } BOOST_AUTO_TEST_CASE(test_incompatible_with_ch) { // Can't use the CH algorithm with MLD data BOOST_CHECK_THROW( getOSRM(OSRM_TEST_DATA_DIR "/mld/monaco.osrm", osrm::EngineConfig::Algorithm::CH), osrm::exception); } BOOST_AUTO_TEST_SUITE_END()