Class UintMaxEqualFailure¶
Defined in File Failure.hpp
Inheritance Relationships¶
Base Type¶
public mu::tiny::test::Failure(Class Failure)
Class Documentation¶
-
class UintMaxEqualFailure : public mu::tiny::test::Failure¶
[source] Failure for C integer equality checks (unsigned, any width).
Used by the C-interface wrappers for
unsignedint,unsignedlong, andunsignedlonglong; values are widened touintmax_t.Public Functions
-
UintMaxEqualFailure(Shell *test, const char *file_name, int_least32_t line_number, unsigned long long expected, unsigned long long actual, const String &text)¶
- Parameters:
test – The failing test.
file_name – Source file.
line_number – Line number.
expected – Expected value (widened to
uintmax_t).actual – Actual value (widened to
uintmax_t).text – Optional user text.
-
UintMaxEqualFailure(Shell *test, const char *file_name, int_least32_t line_number, unsigned long long expected, unsigned long long actual, const String &text)¶