MCPcopy Create free account
hub / github.com/FastLED/FastLED / check_rgb_eq

Function check_rgb_eq

tests/fl/gfx/colorutils.cpp:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void check_rgb_eq(const CRGB &lhs, const CRGB &rhs) {
51 FL_CHECK_EQ(lhs.red, rhs.red);
52 FL_CHECK_EQ(lhs.green, rhs.green);
53 FL_CHECK_EQ(lhs.blue, rhs.blue);
54}
55
56CRGB downconvert(const fl::CRGB16 &rgb) {
57 return CRGB(static_cast<fl::u8>(rgb.r.to_int()),

Callers 1

FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected