Michaël Lemaire
0e0b39f576
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@555 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
19 lines
457 B
C
19 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;
|
|
}
|