tests/test_list.cpp

changeset 702
3390b58ad15a
parent 699
35b2b99ee523
child 704
35f06c5eeb0e
     1.1 --- a/tests/test_list.cpp	Mon Apr 24 19:08:56 2023 +0200
     1.2 +++ b/tests/test_list.cpp	Fri May 05 19:07:56 2023 +0200
     1.3 @@ -509,6 +509,13 @@
     1.4      }
     1.5  }
     1.6  
     1.7 +TEST(LinkedList_LowLevel, cx_linked_list_sort_empty) {
     1.8 +    void *begin = nullptr;
     1.9 +    EXPECT_NO_FATAL_FAILURE(
    1.10 +        cx_linked_list_sort(&begin, nullptr, loc_prev, loc_next, loc_data, cx_cmp_int);
    1.11 +    );
    1.12 +}
    1.13 +
    1.14  TEST(LinkedList_LowLevel, cx_linked_list_sort) {
    1.15      int_test_data<1500> testdata;
    1.16      std::array<int, 1500> sorted{};

mercurial