1 #define LargestIntegralType unsigned long long
3 void _assert_true(const LargestIntegralType result
,
4 const char* const expression
,
5 const char * const file
, const int line
)
10 void _assert_int_equal(
11 const LargestIntegralType a
, const LargestIntegralType b
,
12 const char * const file
, const int line
)
17 void _assert_int_not_equal(
18 const LargestIntegralType a
, const LargestIntegralType b
,
19 const char * const file
, const int line
)
24 void _assert_return_code(const LargestIntegralType result
,
26 const LargestIntegralType error
,
27 const char * const expression
,
28 const char * const file
,
34 void _assert_string_equal(const char * const a
, const char * const b
,
35 const char * const file
, const int line
)
40 void _assert_string_not_equal(const char * const a
, const char * const b
,
41 const char *file
, const int line
)
46 void _assert_memory_equal(const void * const a
, const void * const b
,
47 const size_t size
, const char* const file
,
53 void _assert_memory_not_equal(const void * const a
, const void * const b
,
54 const size_t size
, const char* const file
,
60 void _assert_in_range(
61 const LargestIntegralType value
, const LargestIntegralType minimum
,
62 const LargestIntegralType maximum
, const char* const file
, const int line
)
67 void _assert_not_in_range(
68 const LargestIntegralType value
, const LargestIntegralType minimum
,
69 const LargestIntegralType maximum
, const char* const file
, const int line
)
75 const LargestIntegralType value
, const LargestIntegralType values
[],
76 const size_t number_of_values
, const char* const file
, const int line
)
81 void _assert_not_in_set(
82 const LargestIntegralType value
, const LargestIntegralType values
[],
83 const size_t number_of_values
, const char* const file
, const int line
)