Previous: , Up: assertions equality   [Contents][Index]


6.3.17 Expecting pointer unsigned integer

Preprocessor Macro: void cctests_assert_equal_uintptr (cce_destination_t L, uintptr_t expected, uintptr_t result)
Preprocessor Macro: void cctests_assert_equal_uintptr (cce_destination_t L, uintptr_t expected, uintptr_t result, char const * message, …)

Assert that expected equals result. If the values are equal: just return. Otherwise raise an exception of type cctests_condition_assertion_expected_uintptr by performing a non–local exit to L.

When the optional argument message and the following arguments are used: a dynamically allocated string is formatted using message as template and printf() format specifiers; this string is used as description message for the assertion violation.


Previous: , Up: assertions equality   [Contents][Index]

This document describes version 0.4.1-devel.1 of CCTests.