FastLED
3.9.15
Loading...
Searching...
No Matches
test_result.h
Go to the documentation of this file.
1
// examples/SIMD/test_result.h
2
//
3
// Test result tracking structure for SIMD tests
4
5
#pragma once
6
7
namespace
simd_test
{
8
10
struct
TestResult
{
11
const
char
*
test_name
;
12
bool
passed
;
13
const
char
*
error_msg
;
14
15
TestResult
(
const
char
* name) :
test_name
(name),
passed
(true),
error_msg
(nullptr) {}
16
17
void
fail
(
const
char
* msg) {
18
passed
=
false
;
19
error_msg
= msg;
20
}
21
};
22
23
}
// namespace simd_test
simd_test
Definition
simd_tests.cpp:12
simd_test::TestResult::TestResult
TestResult(const char *name)
Definition
test_result.h:15
simd_test::TestResult::fail
void fail(const char *msg)
Definition
test_result.h:17
simd_test::TestResult::test_name
const char * test_name
Definition
test_result.h:11
simd_test::TestResult::error_msg
const char * error_msg
Definition
test_result.h:13
simd_test::TestResult::passed
bool passed
Definition
test_result.h:12
examples
SIMD
test_result.h
Generated on Tue Jun 16 2026 00:06:58 for FastLED by
1.13.2