| 117 | } |
| 118 | |
| 119 | UNIT_CLASS_TEST(TestWithClassificator, Complex_IsComplex) |
| 120 | { |
| 121 | auto const filename = "test.csv"; |
| 122 | ScopedFile sf(filename, kCsv1); |
| 123 | auto forest = generator::hierarchy::LoadHierachy(sf.GetFullPath()); |
| 124 | // We need to sort forest, because LoadHierachy() returns forest, where trees aren't ordered. |
| 125 | SortForest(forest); |
| 126 | TEST_EQUAL(forest.size(), 2, ()); |
| 127 | TEST(!generator::IsComplex(forest[0]), ()); |
| 128 | TEST(generator::IsComplex(forest[1]), ()); |
| 129 | } |
| 130 | |
| 131 | UNIT_CLASS_TEST(TestWithClassificator, Complex_GetCountry) |
| 132 | { |
nothing calls this directly
no test coverage detected