src/cx/test.h

changeset 993
b642eca4b956
parent 985
68754c7de906
equal deleted inserted replaced
992:14ca894190fd 993:b642eca4b956
153 153
154 return suite; 154 return suite;
155 } 155 }
156 156
157 /** 157 /**
158 * Destroys a test suite. 158 * Deallocates a test suite.
159 * @param suite the test suite to destroy 159 *
160 * @param suite the test suite to free
160 */ 161 */
161 static inline void cx_test_suite_free(CxTestSuite* suite) { 162 static inline void cx_test_suite_free(CxTestSuite* suite) {
162 if (suite == NULL) return; 163 if (suite == NULL) return;
163 CxTestSet *l = suite->tests; 164 CxTestSet *l = suite->tests;
164 while (l != NULL) { 165 while (l != NULL) {

mercurial