Class UintMaxEqualFailure

Inheritance Relationships

Base Type

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 unsigned int, unsigned long, and unsigned long long; values are widened to uintmax_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.