clang format
This commit is contained in:
parent
a61b1a3623
commit
23b07c9197
@ -59,10 +59,10 @@ struct RouteParametersGrammar : public BaseParametersGrammar<Iterator, Signature
|
||||
"full", engine::api::RouteParameters::OverviewType::Full)(
|
||||
"false", engine::api::RouteParameters::OverviewType::False);
|
||||
|
||||
annotations_type.add("duration", AnnotationsType::Duration)(
|
||||
"nodes", AnnotationsType::Nodes)("distance", AnnotationsType::Distance)(
|
||||
"weight", AnnotationsType::Weight)("datasources", AnnotationsType::Datasources)(
|
||||
"speed", AnnotationsType::Speed);
|
||||
annotations_type.add("duration", AnnotationsType::Duration)("nodes",
|
||||
AnnotationsType::Nodes)(
|
||||
"distance", AnnotationsType::Distance)("weight", AnnotationsType::Weight)(
|
||||
"datasources", AnnotationsType::Datasources)("speed", AnnotationsType::Speed);
|
||||
|
||||
base_rule =
|
||||
BaseGrammar::base_rule(qi::_r1) |
|
||||
|
@ -359,9 +359,10 @@ BOOST_AUTO_TEST_CASE(valid_route_urls)
|
||||
BOOST_CHECK(result_speed);
|
||||
BOOST_CHECK_EQUAL(reference_speed.geometries, result_speed->geometries);
|
||||
BOOST_CHECK_EQUAL(reference_speed.overview, result_speed->overview);
|
||||
BOOST_CHECK_EQUAL(result_speed->annotations_type == (RouteParameters::AnnotationsType::Duration |
|
||||
RouteParameters::AnnotationsType::Distance |
|
||||
RouteParameters::AnnotationsType::Speed),
|
||||
BOOST_CHECK_EQUAL(result_speed->annotations_type ==
|
||||
(RouteParameters::AnnotationsType::Duration |
|
||||
RouteParameters::AnnotationsType::Distance |
|
||||
RouteParameters::AnnotationsType::Speed),
|
||||
true);
|
||||
BOOST_CHECK_EQUAL(result_speed->annotations, true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user