tests/test_utils.c

changeset 955
18741059da47
parent 841
93851c0babe4
child 962
cd418898af5c
--- a/tests/test_utils.c	Tue Oct 29 18:15:06 2024 +0100
+++ b/tests/test_utils.c	Tue Oct 29 18:46:50 2024 +0100
@@ -106,18 +106,6 @@
     }
 }
 
-CX_TEST(test_swap_ptr) {
-    int i = 5;
-    int j = 8;
-    int *ip = &i;
-    int *jp = &j;
-    CX_TEST_DO {
-        cx_swap_ptr(ip, jp);
-        CX_TEST_ASSERT(ip == &j);
-        CX_TEST_ASSERT(jp == &i);
-    }
-}
-
 CX_TEST(test_szmul) {
     size_t r;
     int e;
@@ -246,7 +234,6 @@
     cx_test_register(suite, test_stream_bncopy);
     cx_test_register(suite, test_stream_ncopy);
     cx_test_register(suite, test_forn);
-    cx_test_register(suite, test_swap_ptr);
     cx_test_register(suite, test_szmul);
 #ifdef CX_SZMUL_BUILTIN
     cx_test_register(suite, test_szmul_impl);

mercurial