| 123456789101112131415161718 |
- #include "sllist.h"
- #include "common.h"
- static inline int test_create()
- {
- sl_list *a = sllist_create();
- _assertNotNull(a);
- _assertEqual(sllist_count(a), 0);
- return 0;
- }
- int main()
- {
- int success = 1;
- success &= !test_create();
- exit(success ? EXIT_SUCCESS: EXIT_FAILURE);
- }
|