MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / BOOST_AUTO_TEST_CASE

Function BOOST_AUTO_TEST_CASE

unit_tests/library/customize.cpp:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8BOOST_AUTO_TEST_SUITE(library_customize)
9
10BOOST_AUTO_TEST_CASE(test_customize_with_invalid_config)
11{
12 using namespace osrm;
13
14 osrm::CustomizationConfig config;
15 config.requested_num_threads = std::thread::hardware_concurrency();
16 BOOST_CHECK_THROW(osrm::customize(config),
17 std::exception); // including osrm::util::exception, etc.
18}
19
20BOOST_AUTO_TEST_SUITE_END()

Callers

nothing calls this directly

Calls 1

customizeFunction · 0.85

Tested by

no test coverage detected