Use asserts in array

This commit is contained in:
2025-05-05 20:06:58 +01:00
parent cac66b9dbb
commit 6c8434a530
13 changed files with 264 additions and 734 deletions

View File

@@ -86,7 +86,6 @@ TestFuncResult test_i32_array_append_capped(void) {
array = wapp_i32_array(1);
wapp_i32_array_append_capped(&array, &((i32){10}));
wapp_i32_array_append_capped(&array, &((i32){20}));
result = result && array.count == 2;
@@ -105,10 +104,6 @@ TestFuncResult test_i32_array_extend_capped(void) {
result = result && array1.count == 6;
wapp_i32_array_extend_capped(&array1, &array1);
result = result && array1.count == 6;
return wapp_tester_result(result);
}