From 965600ea01617d5ed8f8ca1b17c4a07cbb7ff1cc Mon Sep 17 00:00:00 2001 From: hasufell Date: Sun, 11 May 2014 13:34:19 +0200 Subject: [PATCH] Add missing doxygen --- src/test/cunit_half_edge.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/test/cunit_half_edge.c b/src/test/cunit_half_edge.c index 89ca3c1..c437683 100644 --- a/src/test/cunit_half_edge.c +++ b/src/test/cunit_half_edge.c @@ -435,6 +435,9 @@ void test_parse_obj4(void) CU_ASSERT_PTR_NULL(obj); } +/** + * Test finding the center of an object. + */ void test_find_center1(void) { char const * const string = "" @@ -463,6 +466,9 @@ void test_find_center1(void) CU_ASSERT_EQUAL(newvert->z, 10.0); } +/** + * Test error handling by passing a NULL pointer. + */ void test_find_center2(void) { HE_vert *newvert = find_center(NULL); @@ -470,6 +476,10 @@ void test_find_center2(void) CU_ASSERT_PTR_NULL(newvert); } +/** + * Test getting correct normalized scale factor of + * an object. + */ void test_get_normalized_scale_factor1(void) { char const * const string = "" @@ -496,6 +506,9 @@ void test_get_normalized_scale_factor1(void) CU_ASSERT_EQUAL(factor, 0.2f); } +/** + * Test error handling by passing a NULL pointer. + */ void test_get_normalized_scale_factor2(void) { float factor = get_normalized_scale_factor(NULL);