| 155 | } // namespace |
| 156 | |
| 157 | UNIT_CLASS_TEST(AffiliationTests, SingleAffiliationTests) |
| 158 | { |
| 159 | std::string const kName = "Name"; |
| 160 | feature::SingleAffiliation affiliation(kName); |
| 161 | |
| 162 | TEST(Test(affiliation.GetAffiliations(AffiliationTests::kPointInsideOne1), {kName}), ()); |
| 163 | |
| 164 | TEST(Test(affiliation.GetAffiliations(AffiliationTests::kPointInsideOneAndTwo1), {kName}), ()); |
| 165 | |
| 166 | TEST(Test(affiliation.GetAffiliations( |
| 167 | AffiliationTests::MakeLineFb({AffiliationTests::kPointInsideOne1, AffiliationTests::kPointInsideTwo1})), |
| 168 | {kName}), |
| 169 | ()); |
| 170 | |
| 171 | TEST(affiliation.HasCountryByName(kName), ()); |
| 172 | TEST(!affiliation.HasCountryByName("NoName"), ()); |
| 173 | } |
| 174 | |
| 175 | UNIT_CLASS_TEST(AffiliationTests, CountriesFilesAffiliationTests) |
| 176 | { |
nothing calls this directly
no test coverage detected