1 /* libcoap unit tests 2 * 3 * Copyright (C) 2012 Olaf Bergmann <bergmann@tzi.org> 4 * 5 * SPDX-License-Identifier: BSD-2-Clause 6 * 7 * This file is part of the CoAP library libcoap. Please see 8 * README for terms of use. 9 */ 10 11 #include <CUnit/CUnit.h> 12 13 /** Asserts that const pointers actual == expected. 14 * Reports failure with no other action. 15 */ 16 #define CU_ASSERT_PTR_EQUAL_C(actual, expected) \ 17 { CU_assertImplementation(((const void*)(actual) == (const void*)(expected)), __LINE__, ("CU_ASSERT_PTR_EQUAL(" #actual "," #expected ")"), __FILE__, "", CU_FALSE); } 18 19 CU_pSuite t_init_option_tests(void); 20