tests/test_list.c

changeset 804
5136f2fc32ec
parent 803
0711d869ce4d
child 807
c8d692131b1e
     1.1 --- a/tests/test_list.c	Fri Jan 12 20:24:29 2024 +0100
     1.2 +++ b/tests/test_list.c	Sat Jan 13 17:51:42 2024 +0100
     1.3 @@ -1086,8 +1086,9 @@
     1.4          CX_TEST_CALL_SUBROUTINE(test_list_verify_swap, list, isptrlist, true);
     1.5          CX_DISABLE_LINKED_LIST_SWAP_SBO = false;
     1.6      } else {
     1.7 -        // TODO: currently, SBO for swap operation cannot be disabled for array lists
     1.8 -        CX_TEST_ASSERT(true);
     1.9 +        CX_DISABLE_ARRAY_LIST_SWAP_SBO = true;
    1.10 +        CX_TEST_CALL_SUBROUTINE(test_list_verify_swap, list, isptrlist, false);
    1.11 +        CX_DISABLE_ARRAY_LIST_SWAP_SBO = false;
    1.12      }
    1.13  })
    1.14  

mercurial