Add test modules

This commit is contained in:
Eryn Wells 2013-09-08 15:18:15 -07:00
parent ebcb67a0cc
commit 5a0d215789
5 changed files with 163 additions and 0 deletions

30
test/test_object.c Normal file
View file

@ -0,0 +1,30 @@
/* test_object.c
*
* Unit tests for the object module.
*
* Eryn Wells <eryn@erynwells.me>
*/
#include <check.h>
#include "object.h"
#include "test_suites.h"
START_TEST(test_sphere_does_intersect)
{
}
END_TEST
Suite *
test_object_create_suite()
{
Suite *s = suite_create("object");
TCase *tc_sphere = tcase_create("sphere");
tcase_add_test(tc_sphere, test_sphere_does_intersect);
suite_add_tcase(s, tc_sphere);
return s;
}