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


6.3.5 Expecting long long integers

Preprocessor Macro: void cctests_assert_equal_llong (cce_destination_t L, signed long long expected, signed long long result)
Preprocessor Macro: void cctests_assert_equal_llong (cce_destination_t L, signed long long expected, signed long long 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_llong_t 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.

Preprocessor Macro: void cctests_assert_equal_ullong (cce_destination_t L, unsigned long long expected, unsigned long long result)
Preprocessor Macro: void cctests_assert_equal_ullong (cce_destination_t L, unsigned long long expected, unsigned long long 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_ullong_t 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.


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

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