mirror of
https://github.com/obgm/libcoap.git
synced 2025-05-09 07:11:27 +08:00

This change adds 'SPDX-License-Identifier: BSD-2-Clause' [1] to the source code files that originate in the libcoap project. Note that not all files are tagged because they are pulled in from other sources and thus may fall under a different license. More information about these is contained in the LICENSE file. [1] https://spdx.org/licenses/BSD-2-Clause.html
20 lines
602 B
C
20 lines
602 B
C
/* libcoap unit tests
|
|
*
|
|
* Copyright (C) 2012 Olaf Bergmann <bergmann@tzi.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*
|
|
* This file is part of the CoAP library libcoap. Please see
|
|
* README for terms of use.
|
|
*/
|
|
|
|
#include <CUnit/CUnit.h>
|
|
|
|
/** Asserts that const pointers actual == expected.
|
|
* Reports failure with no other action.
|
|
*/
|
|
#define CU_ASSERT_PTR_EQUAL_C(actual, expected) \
|
|
{ CU_assertImplementation(((const void*)(actual) == (const void*)(expected)), __LINE__, ("CU_ASSERT_PTR_EQUAL(" #actual "," #expected ")"), __FILE__, "", CU_FALSE); }
|
|
|
|
CU_pSuite t_init_option_tests(void);
|