Class IntMaxEqualFailure¶
Defined in File Failure.hpp
Inheritance Relationships¶
Base Type¶
public mu::tiny::test::Failure(Class Failure)
Class Documentation¶
-
class IntMaxEqualFailure : public mu::tiny::test::Failure¶
[source] Failure for C integer equality checks (signed, any width).
Used by the C-interface wrappers for
bool,int,long, andlonglong; values are widened tointmax_tbefore the comparison so that a single failure class covers all signed widths.Public Functions
-
IntMaxEqualFailure(Shell *test, const char *file_name, int_least32_t line_number, long long expected, long long actual, const String &text)¶
- Parameters:
test – The failing test.
file_name – Source file.
line_number – Line number.
expected – Expected value (widened to
intmax_t).actual – Actual value (widened to
intmax_t).text – Optional user text.
-
IntMaxEqualFailure(Shell *test, const char *file_name, int_least32_t line_number, long long expected, long long actual, const String &text)¶