Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ test_default_construction_impl
Function
test_default_construction_impl
tests/fl/math/fixed_point.cpp:355–359 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
353
354
template<typename T>
355
void test_default_construction_impl() {
356
T a;
357
FL_CHECK_EQ(a.raw(), raw_t<T>(0));
358
FL_CHECK_EQ(a.to_int(), 0);
359
}
360
361
template<typename T>
362
void test_float_construction_impl() {
Callers
nothing calls this directly
Calls
2
raw
Method · 0.45
to_int
Method · 0.45
Tested by
no test coverage detected