| 71 | } |
| 72 | |
| 73 | UNIT_TEST(AddAbsentCountryToRouteTest) |
| 74 | { |
| 75 | Route route("TestRouter", 0 /* route id */); |
| 76 | route.AddAbsentCountry("A"); |
| 77 | route.AddAbsentCountry("A"); |
| 78 | route.AddAbsentCountry("B"); |
| 79 | route.AddAbsentCountry("C"); |
| 80 | route.AddAbsentCountry("B"); |
| 81 | set<string> const & absent = route.GetAbsentCountries(); |
| 82 | TEST(absent.find("A") != absent.end(), ()); |
| 83 | TEST(absent.find("B") != absent.end(), ()); |
| 84 | TEST(absent.find("C") != absent.end(), ()); |
| 85 | } |
| 86 | |
| 87 | UNIT_TEST(FinshRouteOnSomeDistanceToTheFinishPointTest) |
| 88 | { |
nothing calls this directly
no test coverage detected