List fix remove() and update testing

This commit is contained in:
Daniel Agar
2019-06-11 22:07:40 -04:00
parent 1623de8bd0
commit aee8f13289
3 changed files with 10 additions and 2 deletions
+2
View File
@@ -141,6 +141,8 @@ bool ListTest::test_remove()
for (auto t : list1) {
ut_assert_true(t->i != remove_i);
}
ut_assert_true(list1.size() == 100 - remove_i - 1);
}
// list should now be empty