From ee536de7dc301382be72cba1690d0fd4f34af662 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 9 Sep 2013 08:53:19 -0700 Subject: [PATCH] Add tests for sphere_point_lies_on_surface and sphere_compute_normal --- test/test_object.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test/test_object.c b/test/test_object.c index 352a560..56a90fd 100644 --- a/test/test_object.c +++ b/test/test_object.c @@ -64,6 +64,20 @@ check_sphere_intersection(Object *sphere, Ray ray, Vector3 *tvectors, int ntvect } +START_TEST(test_sphere_point_lies_on_surface) +{ + ck_assert(0); +} +END_TEST + + +START_TEST(test_sphere_compute_normal) +{ + ck_assert(0); +} +END_TEST + + Suite * test_object_create_suite() { @@ -71,6 +85,8 @@ test_object_create_suite() TCase *tc_sphere = tcase_create("sphere"); tcase_add_test(tc_sphere, test_sphere_does_intersect); + tcase_add_test(tc_sphere, test_sphere_point_lies_on_surface); + tcase_add_test(tc_sphere, test_sphere_compute_normal); suite_add_tcase(s, tc_sphere); return s;