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

Class TestStruct

tests/fl/stl/set.cpp:287–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285
286 FL_SUBCASE("Custom type with inlined storage") {
287 struct TestStruct {
288 int value;
289 TestStruct(int v = 0) : value(v) {}
290 bool operator<(const TestStruct& other) const { return value < other.value; }
291 bool operator==(const TestStruct& other) const { return value == other.value; }
292 };
293
294 fl::set_inlined<TestStruct, 3> set;
295

Callers 1

FL_TEST_FILEFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected