mirror of
https://github.com/darlinghq/ctest.git
synced 2024-12-04 18:46:27 +00:00
20 lines
399 B
C
20 lines
399 B
C
#include <stdio.h>
|
|
|
|
#define CTEST_MAIN
|
|
|
|
// uncomment lines below to enable/disable features. See README.md for details
|
|
#define CTEST_SEGFAULT
|
|
//#define CTEST_NO_COLORS
|
|
//#define CTEST_COLOR_OK
|
|
|
|
#include "ctest.h"
|
|
|
|
int main(int argc, const char *argv[])
|
|
{
|
|
int result = ctest_main(argc, argv);
|
|
|
|
printf("\nNOTE: some tests will fail, just to show how ctest works! ;)\n");
|
|
return result;
|
|
}
|
|
|