change bounds in the assertion as less isolated vertices seems to be generated

This commit is contained in:
Sébastien Loriot 2016-06-30 14:07:11 +02:00
parent 29aacb5dc7
commit e912899d51
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ void test_list_output(Otr_2& otr2)
vertex_count++; vertex_count++;
std::cout << *it << std::endl; std::cout << *it << std::endl;
} }
assert(vertex_count >= 10 && vertex_count <= 25); assert(vertex_count >= 8 && vertex_count <= 25);
int edge_count = 0; int edge_count = 0;
for (std::vector<Segment>::iterator it = edges.begin(); for (std::vector<Segment>::iterator it = edges.begin();