mirror of
https://github.com/swaywm/sway.git
synced 2026-04-28 06:46:26 -04:00
20 lines
373 B
C
20 lines
373 B
C
|
|
#define _POSIX_C_SOURCE 200809L
|
||
|
|
#include <stdio.h>
|
||
|
|
#include <stdbool.h>
|
||
|
|
#include <stdlib.h>
|
||
|
|
#include "tests.h"
|
||
|
|
#include "list.h"
|
||
|
|
|
||
|
|
static void test_test(void **state) {
|
||
|
|
list_t *list = create_list();
|
||
|
|
free(list);
|
||
|
|
assert_true(true);
|
||
|
|
}
|
||
|
|
|
||
|
|
int main() {
|
||
|
|
const struct CMUnitTest tests[] = {
|
||
|
|
cmocka_unit_test(test_test),
|
||
|
|
};
|
||
|
|
return cmocka_run_group_tests(tests, NULL, NULL);
|
||
|
|
}
|