mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-07 13:03:54 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -24,8 +24,7 @@ struct City
|
||||
{
|
||||
City(string const & name, m2::PointD const & center, uint64_t population, FeatureID const & id)
|
||||
: m_item(ToMultilang(name), center, {} /* boundaries */, population, id)
|
||||
{
|
||||
}
|
||||
{}
|
||||
|
||||
LocalityItem m_item;
|
||||
};
|
||||
@@ -58,11 +57,10 @@ MatchedCity GetMatchedCity(m2::PointD const & point, vector<City> const & cities
|
||||
UNIT_TEST(LocalitySelector_Test1)
|
||||
{
|
||||
MwmSet::MwmId mwmId;
|
||||
auto const city =
|
||||
GetMatchedCity(m2::PointD(-97.56345, 26.79672),
|
||||
{{"Matamoros", m2::PointD(-97.50665, 26.79718), 918536, {mwmId, 0}},
|
||||
auto const city = GetMatchedCity(m2::PointD(-97.56345, 26.79672),
|
||||
{{"Matamoros", m2::PointD(-97.50665, 26.79718), 918536, {mwmId, 0}},
|
||||
|
||||
{"Brownsville", m2::PointD(-97.48910, 26.84558), 180663, {mwmId, 1}}});
|
||||
{"Brownsville", m2::PointD(-97.48910, 26.84558), 180663, {mwmId, 1}}});
|
||||
TEST_EQUAL(city.m_name, "Matamoros", ());
|
||||
TEST_EQUAL(city.m_id.m_index, 0, ());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user