Add test modules
This commit is contained in:
parent
ebcb67a0cc
commit
5a0d215789
5 changed files with 163 additions and 0 deletions
30
test/test_object.c
Normal file
30
test/test_object.c
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue