formatting
This commit is contained in:
parent
5420d56ed5
commit
d60c4e5fc7
@ -96,10 +96,12 @@ BOOST_AUTO_TEST_CASE(invalid_table_urls)
|
|||||||
testInvalidOptions<TableParameters>("1,2;3,4?annotations=durations&scale_factor=-1"), 28UL);
|
testInvalidOptions<TableParameters>("1,2;3,4?annotations=durations&scale_factor=-1"), 28UL);
|
||||||
BOOST_CHECK_EQUAL(
|
BOOST_CHECK_EQUAL(
|
||||||
testInvalidOptions<TableParameters>("1,2;3,4?annotations=durations&scale_factor=0"), 28UL);
|
testInvalidOptions<TableParameters>("1,2;3,4?annotations=durations&scale_factor=0"), 28UL);
|
||||||
BOOST_CHECK_EQUAL(testInvalidOptions<TableParameters>("1,2;3,4?annotations=durations&fallback_speed=0"),
|
BOOST_CHECK_EQUAL(
|
||||||
28UL);
|
testInvalidOptions<TableParameters>("1,2;3,4?annotations=durations&fallback_speed=0"),
|
||||||
BOOST_CHECK_EQUAL(testInvalidOptions<TableParameters>("1,2;3,4?annotations=durations&fallback_speed=-1"),
|
28UL);
|
||||||
28UL);
|
BOOST_CHECK_EQUAL(
|
||||||
|
testInvalidOptions<TableParameters>("1,2;3,4?annotations=durations&fallback_speed=-1"),
|
||||||
|
28UL);
|
||||||
BOOST_CHECK_EQUAL(
|
BOOST_CHECK_EQUAL(
|
||||||
testInvalidOptions<TableParameters>("1,2;3,4?annotations=durations&fallback_speed=0"),
|
testInvalidOptions<TableParameters>("1,2;3,4?annotations=durations&fallback_speed=0"),
|
||||||
28UL);
|
28UL);
|
||||||
@ -609,8 +611,8 @@ BOOST_AUTO_TEST_CASE(valid_table_urls)
|
|||||||
CHECK_EQUAL_RANGE(reference_10.destinations, result_10->destinations);
|
CHECK_EQUAL_RANGE(reference_10.destinations, result_10->destinations);
|
||||||
|
|
||||||
auto result_11 = parseParameters<TableParameters>("1,2;3,4?sources=all&destinations=all&"
|
auto result_11 = parseParameters<TableParameters>("1,2;3,4?sources=all&destinations=all&"
|
||||||
"annotations=duration&fallback_speed=1&"
|
"annotations=duration&fallback_speed=1&"
|
||||||
"fallback_coordinate=snapped&scale_factor=2");
|
"fallback_coordinate=snapped&scale_factor=2");
|
||||||
BOOST_CHECK(result_11);
|
BOOST_CHECK(result_11);
|
||||||
CHECK_EQUAL_RANGE(reference_1.sources, result_11->sources);
|
CHECK_EQUAL_RANGE(reference_1.sources, result_11->sources);
|
||||||
CHECK_EQUAL_RANGE(reference_1.destinations, result_11->destinations);
|
CHECK_EQUAL_RANGE(reference_1.destinations, result_11->destinations);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user