Use asserts in array
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user