test/test_list.cpp

changeset 611
77efa5163ae5
parent 610
de5d3ee6435f
child 613
85c08391a090
--- a/test/test_list.cpp	Wed Nov 16 22:27:46 2022 +0100
+++ b/test/test_list.cpp	Thu Nov 17 18:25:40 2022 +0100
@@ -631,7 +631,7 @@
         EXPECT_EQ(list->size, 3);
         EXPECT_EQ(cxListInsert(list, 3, &d), 0);
 
-        EXPECT_EQ(list->size, 4);
+        ASSERT_EQ(list->size, 4);
         EXPECT_GE(list->capacity, list->size);
 
         EXPECT_EQ(*(int *) cxListAt(list, 0), 47);
@@ -840,7 +840,6 @@
 }
 
 TEST_F(ArrayList, cxListInsert) {
-    ASSERT_EQ(1,0); // TODO: remove when implemented
     verifyInsert(autofree(cxArrayListCreate(&testingAllocator, cx_cmp_int, sizeof(int), 2)));
 }
 

mercurial