20 lines
457 B
C
20 lines
457 B
C
|
#include <check.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
extern void test_euclid_case(Suite* s);
|
||
|
|
||
|
int main(int argc, char** argv)
|
||
|
{
|
||
|
int number_failed;
|
||
|
Suite *s = suite_create("rendering");
|
||
|
|
||
|
/* TODO Find a way to automate this */
|
||
|
test_euclid_case(s);
|
||
|
|
||
|
SRunner *sr = srunner_create(s);
|
||
|
srunner_run_all(sr, CK_NORMAL);
|
||
|
number_failed = srunner_ntests_failed(sr);
|
||
|
srunner_free(sr);
|
||
|
return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
|
||
|
}
|