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

◆ print_final_banner()

void simd_test::print_final_banner ( int failed_tests)

Print final result banner (PASS/FAIL)

Parameters
failed_testsNumber of failed tests (0 = all passed)

Definition at line 90 of file test_helpers.cpp.

90 {
91 fl::sstream ss;
92 ss << "\n";
93 if (failed_tests == 0) {
94 ss << "╔════════════════════════════════════════════════════════════════╗\n";
95 ss << "║ ✓ ALL TESTS PASSED ║\n";
96 ss << "╚════════════════════════════════════════════════════════════════╝";
97 } else {
98 ss << "╔════════════════════════════════════════════════════════════════╗\n";
99 ss << "║ ✗ TESTS FAILED ║\n";
100 ss << "╚════════════════════════════════════════════════════════════════╝";
101 }
102 FL_PRINT(ss.str());
103}
int failed_tests
Definition SIMD.ino:76
string str() const FL_NOEXCEPT
Definition strstream.h:43
#define FL_PRINT(X)
Print without prefix (like FL_WARN but without "WARN: " prefix) Uses sstream for dynamic formatting (...
Definition log.h:457

References failed_tests, FL_PRINT, and fl::sstream::str().

Referenced by setup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: