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

Function square_force_inline

tests/fl/force_inline.cpp:30–32  ·  view source on GitHub ↗

Test with constexpr

Source from the content-addressed store, hash-verified

28
29// Test with constexpr
30FASTLED_FORCE_INLINE constexpr int square_force_inline(int x) {
31 return x * x;
32}
33
34FL_TEST_CASE("FASTLED_FORCE_INLINE macro") {
35 FL_SUBCASE("basic integer functions") {

Callers 1

FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected