Lines Matching refs:minimum
73 * signed range. Where range is minimum <= value <= maximum.
76 #define expect_in_range(function, parameter, minimum, maximum) \
77 expect_in_range_count(function, parameter, minimum, maximum, 1)
78 #define expect_in_range_count(function, parameter, minimum, maximum, count) \
79 _expect_in_range(#function, #parameter, __FILE__, __LINE__, minimum, \
83 * signed range. Where range is value < minimum or value > maximum.
86 #define expect_not_in_range(function, parameter, minimum, maximum) \
87 expect_not_in_range_count(function, parameter, minimum, maximum, 1)
88 #define expect_not_in_range_count(function, parameter, minimum, maximum, \
91 minimum, maximum, count)
181 // Assert that the specified value is >= minimum and <= maximum.
182 #define assert_in_range(value, minimum, maximum) \
183 _assert_in_range((int)value, (int)minimum, (int)maximum, __FILE__, \
186 #define assert_not_in_range(value, minimum, maximum) \
187 _assert_not_in_range((int)value, (int)minimum, (int)maximum, __FILE__, \
344 const int minimum, const int maximum, const int count);
348 const int minimum, const int maximum, const int count);
405 void _assert_in_range(const int value, const int minimum, const int maximum,
407 void _assert_not_in_range(const int value, const int minimum,