Home | History | Annotate | Download | only in tests

Lines Matching refs:addedElements

226     Vector<PODInterval<int> > addedElements;
236 addedElements.append(interval);
241 int index = nextRandom(addedElements.size());
243 LOG_ERROR("*** Removing element %s", ValueToString<PODInterval<int> >::string(addedElements[index]).ascii().data());
245 ASSERT_TRUE(tree.contains(addedElements[index])) << "Test failed for seed " << seed;
246 tree.remove(addedElements[index]);
247 removedElements.append(addedElements[index]);
248 addedElements.remove(index);
254 if (!addedElements.size())
266 addedElements.append(removedElements[index]);
269 int index = nextRandom(addedElements.size());
271 LOG_ERROR("*** Removing element %s", ValueToString<PODInterval<int> >::string(addedElements[index]).ascii().data());
273 ASSERT_TRUE(tree.contains(addedElements[index])) << "Test failed for seed " << seed;
274 ASSERT_TRUE(tree.remove(addedElements[index])) << "Test failed for seed " << seed;
275 removedElements.append(addedElements[index]);
276 addedElements.remove(index);