MCPcopy 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
354template<typename T>
355void 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
361template<typename T>
362void test_float_construction_impl() {

Callers

nothing calls this directly

Calls 2

rawMethod · 0.45
to_intMethod · 0.45

Tested by

no test coverage detected