#include "cutest-1.5/CuTest.h" #include CuSuite *SpawnGetSuite(); CuSuite *PowerupGetSuite(); CuSuite *CombatGetSuite(); int RunAllTests(void) { CuString *output = CuStringNew(); CuSuite *suite = CuSuiteNew(); CuSuiteAddSuite(suite, SpawnGetSuite()); CuSuiteAddSuite(suite, PowerupGetSuite()); CuSuiteAddSuite(suite, CombatGetSuite()); CuSuiteRun(suite); CuSuiteSummary(suite, output); CuSuiteDetails(suite, output); printf("%s\n", output->buffer); return suite->failCount > 0; } int main(void) { return RunAllTests(); }