mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +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:
@@ -35,29 +35,36 @@ UNIT_TEST(MwmHierarchyHandler_Smoke)
|
||||
routing::MwmHierarchyHandler handler(mwmIDs, getter);
|
||||
|
||||
TEST(!handler.HasCrossBorderPenalty(GetCountryID(mwmIDs, "Belarus_Maglieu Region"),
|
||||
GetCountryID(mwmIDs, "Belarus_Vitebsk Region")), ());
|
||||
GetCountryID(mwmIDs, "Belarus_Vitebsk Region")),
|
||||
());
|
||||
TEST(handler.HasCrossBorderPenalty(GetCountryID(mwmIDs, "Belarus_Hrodna Region"),
|
||||
GetCountryID(mwmIDs, "Lithuania_East")), ());
|
||||
GetCountryID(mwmIDs, "Lithuania_East")),
|
||||
());
|
||||
TEST(!handler.HasCrossBorderPenalty(GetCountryID(mwmIDs, "Belarus_Maglieu Region"),
|
||||
GetCountryID(mwmIDs, "Russia_Smolensk Oblast")), ());
|
||||
TEST(handler.HasCrossBorderPenalty(GetCountryID(mwmIDs, "Ukraine_Kherson Oblast"),
|
||||
GetCountryID(mwmIDs, "Crimea")), ());
|
||||
TEST(handler.HasCrossBorderPenalty(GetCountryID(mwmIDs, "Russia_Krasnodar Krai"),
|
||||
GetCountryID(mwmIDs, "Crimea")), ());
|
||||
GetCountryID(mwmIDs, "Russia_Smolensk Oblast")),
|
||||
());
|
||||
TEST(handler.HasCrossBorderPenalty(GetCountryID(mwmIDs, "Ukraine_Kherson Oblast"), GetCountryID(mwmIDs, "Crimea")),
|
||||
());
|
||||
TEST(handler.HasCrossBorderPenalty(GetCountryID(mwmIDs, "Russia_Krasnodar Krai"), GetCountryID(mwmIDs, "Crimea")),
|
||||
());
|
||||
TEST(!handler.HasCrossBorderPenalty(GetCountryID(mwmIDs, "Denmark_Region Zealand"),
|
||||
GetCountryID(mwmIDs, "Denmark_Region of Southern Denmark")), ());
|
||||
GetCountryID(mwmIDs, "Denmark_Region of Southern Denmark")),
|
||||
());
|
||||
|
||||
TEST(handler.HasCrossBorderPenalty(GetCountryID(mwmIDs, "Ukraine_Zakarpattia Oblast"),
|
||||
GetCountryID(mwmIDs, "Slovakia_Region of Kosice")), ());
|
||||
GetCountryID(mwmIDs, "Slovakia_Region of Kosice")),
|
||||
());
|
||||
TEST(handler.HasCrossBorderPenalty(GetCountryID(mwmIDs, "Ukraine_Zakarpattia Oblast"),
|
||||
GetCountryID(mwmIDs, "Hungary_Northern Great Plain")), ());
|
||||
GetCountryID(mwmIDs, "Hungary_Northern Great Plain")),
|
||||
());
|
||||
TEST(!handler.HasCrossBorderPenalty(GetCountryID(mwmIDs, "Hungary_Northern Great Plain"),
|
||||
GetCountryID(mwmIDs, "Slovakia_Region of Kosice")), ());
|
||||
GetCountryID(mwmIDs, "Slovakia_Region of Kosice")),
|
||||
());
|
||||
|
||||
TEST(!handler.HasCrossBorderPenalty(GetCountryID(mwmIDs, "Ireland_Connacht"),
|
||||
GetCountryID(mwmIDs, "UK_Northern Ireland")), ());
|
||||
TEST(handler.HasCrossBorderPenalty(GetCountryID(mwmIDs, "Ireland_Leinster"),
|
||||
GetCountryID(mwmIDs, "UK_Wales")), ());
|
||||
GetCountryID(mwmIDs, "UK_Northern Ireland")),
|
||||
());
|
||||
TEST(handler.HasCrossBorderPenalty(GetCountryID(mwmIDs, "Ireland_Leinster"), GetCountryID(mwmIDs, "UK_Wales")), ());
|
||||
|
||||
char const * ip[] = {"Israel", "Jerusalem", "Palestine"};
|
||||
for (auto s1 : ip)
|
||||
@@ -65,4 +72,4 @@ UNIT_TEST(MwmHierarchyHandler_Smoke)
|
||||
TEST(!handler.HasCrossBorderPenalty(GetCountryID(mwmIDs, s1), GetCountryID(mwmIDs, s2)), (s1, s2));
|
||||
}
|
||||
|
||||
} // namespace mwm_hierarchy_test
|
||||
} // namespace mwm_hierarchy_test
|
||||
|
||||
Reference in New Issue
Block a user