51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef NDEBUG
+#undef NDEBUG
+#endif
+
#include "execute_tests.h"
#include "test_cases_hint_address.h"
#include "../common/containers.h"
}
/* Test Steps for meshlink_hint_address Test Case # 1 - Valid case */
bool test_steps_hint_address_01(void) {
- meshlink_destroy("hintconf1");
- meshlink_destroy("hintconf2");
+ assert(meshlink_destroy("hintconf1"));
+ assert(meshlink_destroy("hintconf2"));
meshlink_set_log_cb(NULL, TEST_MESHLINK_LOG_LEVEL, meshlink_callback_logger);
// Create meshlink instance for the nodes
free(buff);
meshlink_close(mesh1);
meshlink_close(mesh2);
- meshlink_destroy("hintconf1");
- meshlink_destroy("hintconf2");
+ assert(meshlink_destroy("hintconf1"));
+ assert(meshlink_destroy("hintconf2"));
return true;
}