[tests] Fix generator test after hwtag-yescar type was added

This commit is contained in:
Ilya Zverev 2017-01-12 16:09:20 +03:00
parent 561d5df26c
commit 98a12b3fd9

View file

@ -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)