Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -22,17 +22,16 @@ struct RouteData
UNIT_TEST(MiniRoundabout_CalculateRoute)
{
std::vector<RouteData> const routesWithMiniRoundabouts{
{{51.45609, 0.05974}, {51.45562, 0.06005}, 61.3},
{{51.49746, -0.40027}, {51.49746, -0.40111}, 65.64},
{{55.98700, -3.38256}, {55.98665, -3.38260}, 43.6},
{{52.22163, 21.09296}, {52.22189, 21.09286}, 41.5}};
std::vector<RouteData> const routesWithMiniRoundabouts{{{51.45609, 0.05974}, {51.45562, 0.06005}, 61.3},
{{51.49746, -0.40027}, {51.49746, -0.40111}, 65.64},
{{55.98700, -3.38256}, {55.98665, -3.38260}, 43.6},
{{52.22163, 21.09296}, {52.22189, 21.09286}, 41.5}};
for (auto const & route : routesWithMiniRoundabouts)
{
TRouteResult const routeResult = integration::CalculateRoute(
integration::GetVehicleComponents(VehicleType::Car), mercator::FromLatLon(route.m_start),
{0.0, 0.0}, mercator::FromLatLon(route.m_finish));
TRouteResult const routeResult = integration::CalculateRoute(integration::GetVehicleComponents(VehicleType::Car),
mercator::FromLatLon(route.m_start), {0.0, 0.0},
mercator::FromLatLon(route.m_finish));
TEST_EQUAL(routeResult.second, RouterResultCode::NoError, ());