mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 05:10:36 +08:00
List fix remove() and update testing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user