aboutsummaryrefslogblamecommitdiffstats
path: root/unit/ck-test.c
blob: 01156f12173e600796066b9229be60b2d5b62510 (plain) (tree)























                                                 
#include "cklist.h"
#include "stdio.h"

#define CK_UNIT_TESTS				\
  X(ck_list_init, "Initialize ck list")		\
  X(ck_list_add, "Add elements to ck list")

void ck_list_init() {
  printf("Test1\n");
}

void ck_list_add() {
  printf("Test2\n");
}

int main() {
#define X(TEST, DESC)				\
  printf("--[%s]--\n", DESC);			\
  TEST();					\
  printf("--[Passed]--\n\n");
  CK_UNIT_TESTS
#undef X
}