forked from organicmaps/organicmaps-tmp
Merge pull request #5173 from Zverik/fixtest
[tests] Fix generator test after hwtag-yescar type was added
This commit is contained in:
commit
2073caed62
1 changed files with 4 additions and 1 deletions
|
@ -608,7 +608,7 @@ UNIT_TEST(OsmType_Ferry)
|
|||
FeatureParams params;
|
||||
ftype::GetNameAndType(&e, params);
|
||||
|
||||
TEST_EQUAL(params.m_Types.size(), 2, (params));
|
||||
TEST_EQUAL(params.m_Types.size(), 3, (params));
|
||||
|
||||
uint32_t type = GetType({"highway", "primary", "bridge"});
|
||||
TEST(params.IsTypeExist(type), ());
|
||||
|
@ -621,6 +621,9 @@ UNIT_TEST(OsmType_Ferry)
|
|||
type = GetType({"route", "ferry"});
|
||||
TEST(!params.IsTypeExist(type), ());
|
||||
TEST(!carModel.IsRoadType(type), ());
|
||||
|
||||
type = GetType({"hwtag", "yescar"});
|
||||
TEST(params.IsTypeExist(type), ());
|
||||
}
|
||||
|
||||
UNIT_TEST(OsmType_Boundary)
|
||||
|
|
Loading…
Add table
Reference in a new issue