Template Function mu::tiny::test::check_equal¶
Defined in File Shell.hpp
Function Documentation¶
-
template<typename T, typename U>
void mu::tiny::test::check_equal(const T &expected, const U &actual, const char *text, const char *file, int_least32_t line)¶ Implementation helper for CHECK_EQUAL.
Uses the conditional expression’s arithmetic-conversion rules to select a common comparison type, avoiding signed/unsigned mismatch warnings. Prefer the CHECK_EQUAL macro.
- Parameters:
expected – Expected value.
actual – Actual value.
text – Optional failure message.
file – Source file path.
line – Source line number.