tests/test_list.c

changeset 1435
48ebf22b698e
parent 1433
81c301a59b7c
equal deleted inserted replaced
1434:27d71ce751e9 1435:48ebf22b698e
34 #include "cx/linked_list.h" 34 #include "cx/linked_list.h"
35 #include "cx/kv_list.h" 35 #include "cx/kv_list.h"
36 36
37 #include <stdarg.h> 37 #include <stdarg.h>
38 #include <errno.h> 38 #include <errno.h>
39 #include <unistd.h>
40 39
41 CX_TEST(test_array_add) { 40 CX_TEST(test_array_add) {
42 CX_ARRAY_DECLARE(int, arr); 41 CX_ARRAY_DECLARE(int, arr);
43 arr = cxCallocDefault(5, sizeof(int)); 42 arr = cxCallocDefault(5, sizeof(int));
44 arr[0] = 2; 43 arr[0] = 2;

mercurial