Consult unit.h for information about this header only library, it implements a tiny unit test framework in C, an example is shown in main.c. The code is in the public domain.