FastLED 3.9.15
Loading...
Searching...
No Matches

◆ assertResult()

void fl::test::DefaultReporter::assertResult ( const AssertResult & result)
overridevirtual

Implements fl::test::IReporter.

Definition at line 79 of file fltest.cpp.hpp.

79 {
80 if (!result.mPassed) {
81 fl::printf(" FAILED: %s:%d\n", result.mLocation.mFile, result.mLocation.mLine);
82 fl::printf(" Expression: %s\n", result.mExpression.c_str());
83 if (!result.mExpanded.empty()) {
84 fl::printf(" Expanded: %s\n", result.mExpanded.c_str());
85 }
86 }
87}
void printf(const char *format, const Args &... args) FL_NOEXCEPT
Printf-like formatting function that prints directly to the platform output.
Definition stdio.h:635
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31

References FL_NOEXCEPT, and fl::printf().

+ Here is the call graph for this function: