|
FastLED 3.9.15
|
| void simd_test::run_test | ( | const char * | test_name, |
| TestFunc | test_func, | ||
| fl::vector< TestResult > & | results, | ||
| int & | total_tests, | ||
| int & | passed_tests, | ||
| int & | failed_tests ) |
Run a single test and record result.
| test_name | Name of the test |
| test_func | Test function to execute (takes TestResult& parameter) |
| results | Vector to store test results |
| total_tests | Total test counter (incremented) |
| passed_tests | Passed test counter (incremented on pass) |
| failed_tests | Failed test counter (incremented on fail) |
Definition at line 47 of file test_helpers.h.
References failed_tests, passed_tests, print_test_result(), fl::vector< T >::push_back(), and total_tests.
Referenced by setup().
Here is the call graph for this function:
Here is the caller graph for this function: