--- a/tests/test_list.cpp Mon Apr 24 19:08:56 2023 +0200 +++ b/tests/test_list.cpp Fri May 05 19:07:56 2023 +0200 @@ -509,6 +509,13 @@ } } +TEST(LinkedList_LowLevel, cx_linked_list_sort_empty) { + void *begin = nullptr; + EXPECT_NO_FATAL_FAILURE( + cx_linked_list_sort(&begin, nullptr, loc_prev, loc_next, loc_data, cx_cmp_int); + ); +} + TEST(LinkedList_LowLevel, cx_linked_list_sort) { int_test_data<1500> testdata; std::array<int, 1500> sorted{};