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

@@ -120,8 +120,10 @@ UNIT_TEST(SmallRoutes_JustNoError)
};
std::vector<std::tuple<ms::LatLon, ms::LatLon, m2::PointD, VehicleType>> routesWithDir = {
{{-45.433213, -72.739150}, {-45.434484, -72.738892},
{-1.3387623880589671899e-06, -4.2558102819612031453e-07}, VehicleType::Car}, // 1
{{-45.433213, -72.739150},
{-45.434484, -72.738892},
{-1.3387623880589671899e-06, -4.2558102819612031453e-07},
VehicleType::Car}, // 1
};
size_t number = 0;
@@ -134,12 +136,9 @@ UNIT_TEST(SmallRoutes_JustNoError)
std::tie(start, finish, type) = route;
LOG(LINFO, ("Start test without direction, number:", number));
TRouteResult result =
integration::CalculateRoute(integration::GetVehicleComponents(type),
mercator::FromLatLon(start), {0., 0.},
mercator::FromLatLon(finish));
TEST_EQUAL(result.second, RouterResultCode::NoError,
(std::get<0>(route), std::get<1>(route), std::get<2>(route)));
TRouteResult result = integration::CalculateRoute(
integration::GetVehicleComponents(type), mercator::FromLatLon(start), {0., 0.}, mercator::FromLatLon(finish));
TEST_EQUAL(result.second, RouterResultCode::NoError, (std::get<0>(route), std::get<1>(route), std::get<2>(route)));
}
number = 0;
@@ -153,10 +152,8 @@ UNIT_TEST(SmallRoutes_JustNoError)
std::tie(start, finish, direction, type) = route;
LOG(LINFO, ("Start test with direction, number:", number));
TRouteResult result =
integration::CalculateRoute(integration::GetVehicleComponents(type),
mercator::FromLatLon(start), direction,
mercator::FromLatLon(finish));
TRouteResult result = integration::CalculateRoute(
integration::GetVehicleComponents(type), mercator::FromLatLon(start), direction, mercator::FromLatLon(finish));
TEST_EQUAL(result.second, RouterResultCode::NoError, ());
}
}