Remove all core-CH left-overs (#6920)
* Remove all core-CH left-overs * Fix formatting * Update CHANGELOG.md
This commit is contained in:
@@ -14,14 +14,6 @@ BOOST_AUTO_TEST_CASE(test_incompatible_with_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
|
||||
|
||||
@@ -18,16 +18,6 @@ BOOST_AUTO_TEST_CASE(test_ch)
|
||||
OSRM osrm{config};
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(test_corech)
|
||||
{
|
||||
using namespace osrm;
|
||||
EngineConfig config;
|
||||
config.use_shared_memory = false;
|
||||
config.storage_config = storage::StorageConfig(OSRM_TEST_DATA_DIR "/corech/monaco.osrm");
|
||||
config.algorithm = EngineConfig::Algorithm::CoreCH;
|
||||
OSRM osrm{config};
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(test_mld)
|
||||
{
|
||||
using namespace osrm;
|
||||
|
||||
@@ -198,18 +198,6 @@ void test_tile_ch(bool use_string_only_api)
|
||||
BOOST_AUTO_TEST_CASE(test_tile_ch_old_api) { test_tile_ch(true); }
|
||||
BOOST_AUTO_TEST_CASE(test_tile_ch_new_api) { test_tile_ch(false); }
|
||||
|
||||
void test_tile_corech(bool use_string_only_api)
|
||||
{
|
||||
// Note: this tests that given the CoreCH algorithm config option, configuration falls back to
|
||||
// CH and is compatible with CH data
|
||||
using namespace osrm;
|
||||
auto osrm =
|
||||
getOSRM(OSRM_TEST_DATA_DIR "/ch/monaco.osrm", osrm::EngineConfig::Algorithm::CoreCH);
|
||||
validate_tile(osrm, use_string_only_api);
|
||||
}
|
||||
BOOST_AUTO_TEST_CASE(test_tile_corech_old_api) { test_tile_corech(true); }
|
||||
BOOST_AUTO_TEST_CASE(test_tile_corech_new_api) { test_tile_corech(false); }
|
||||
|
||||
void test_tile_mld(bool use_string_only_api)
|
||||
{
|
||||
using namespace osrm;
|
||||
@@ -347,14 +335,6 @@ BOOST_AUTO_TEST_CASE(test_tile_turns_ch_new_api)
|
||||
{
|
||||
test_tile_turns_ch(osrm::EngineConfig::Algorithm::CH, false);
|
||||
}
|
||||
BOOST_AUTO_TEST_CASE(test_tile_turns_corech_old_api)
|
||||
{
|
||||
test_tile_turns_ch(osrm::EngineConfig::Algorithm::CoreCH, true);
|
||||
}
|
||||
BOOST_AUTO_TEST_CASE(test_tile_turns_corech_new_api)
|
||||
{
|
||||
test_tile_turns_ch(osrm::EngineConfig::Algorithm::CoreCH, false);
|
||||
}
|
||||
|
||||
void test_tile_turns_mld(bool use_string_only_api)
|
||||
{
|
||||
@@ -432,14 +412,6 @@ BOOST_AUTO_TEST_CASE(test_tile_speeds_ch_new_api)
|
||||
{
|
||||
test_tile_speeds_ch(osrm::EngineConfig::Algorithm::CH, false);
|
||||
}
|
||||
BOOST_AUTO_TEST_CASE(test_tile_speeds_corech_old_api)
|
||||
{
|
||||
test_tile_speeds_ch(osrm::EngineConfig::Algorithm::CoreCH, true);
|
||||
}
|
||||
BOOST_AUTO_TEST_CASE(test_tile_speeds_corech_new_api)
|
||||
{
|
||||
test_tile_speeds_ch(osrm::EngineConfig::Algorithm::CoreCH, false);
|
||||
}
|
||||
|
||||
void test_tile_speeds_mld(bool use_string_only_api)
|
||||
{
|
||||
@@ -501,14 +473,6 @@ BOOST_AUTO_TEST_CASE(test_tile_node_ch_new_api)
|
||||
{
|
||||
test_tile_nodes_ch(osrm::EngineConfig::Algorithm::CH, false);
|
||||
}
|
||||
BOOST_AUTO_TEST_CASE(test_tile_node_corech_old_api)
|
||||
{
|
||||
test_tile_nodes_ch(osrm::EngineConfig::Algorithm::CoreCH, true);
|
||||
}
|
||||
BOOST_AUTO_TEST_CASE(test_tile_node_corech_new_api)
|
||||
{
|
||||
test_tile_nodes_ch(osrm::EngineConfig::Algorithm::CoreCH, false);
|
||||
}
|
||||
|
||||
void test_tile_nodes_mld(bool use_string_only_api)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user