21 lines
377 B
C
21 lines
377 B
C
#include "cutest-1.5/CuTest.h"
|
|
#include <stdio.h>
|
|
|
|
CuSuite *SpawnGetSuite();
|
|
|
|
void RunAllTests(void) {
|
|
CuString *output = CuStringNew();
|
|
CuSuite *suite = CuSuiteNew();
|
|
|
|
CuSuiteAddSuite(suite, SpawnGetSuite());
|
|
|
|
CuSuiteRun(suite);
|
|
CuSuiteSummary(suite, output);
|
|
CuSuiteDetails(suite, output);
|
|
printf("%s\n", output->buffer);
|
|
}
|
|
|
|
int main(void) {
|
|
RunAllTests();
|
|
}
|