FastLED 3.10.6
Loading...
Searching...
No Matches

◆ assertResult()

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

Implements fl::test::IReporter.

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

80 {
81 if (!result.mPassed) {
82 fl::printf(" FAILED: %s:%d\n", result.mLocation.mFile, result.mLocation.mLine);
83 fl::printf(" Expression: %s\n", result.mExpression.c_str());
84 if (!result.mExpanded.empty()) {
85 fl::printf(" Expanded: %s\n", result.mExpanded.c_str());
86 }
87 }
88}
void printf(const char *format) FL_NO_EXCEPT
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31

References fl::FL_NO_EXCEPT, and fl::printf().

+ Here is the call graph for this function: