fix a bug : random selection of nodes can lead to select twice the same node

parent cdb9d9be
Pipeline #20312165 passed with stages
in 66 minutes and 34 seconds
......@@ -271,7 +271,7 @@ namespace gum_tests {
TS_ASSERT_EQUALS(v[i], i)
for (int i = 0; i < 5; i++)
nodeset.eraseNode(gum::randomValue(100));
nodeset.eraseNode(2+i*19);
nodeset.addNodes(5);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment