Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ Point
Class
Point
tests/fl/stl/optional.cpp:219–222 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
217
218
FL_SUBCASE(
"operator-> with struct"
) {
219
struct Point {
220
int x, y;
221
Point(int x_, int y_) : x(x_), y(y_) {}
222
};
223
224
Optional<Point> opt(Point(10, 20));
225
FL_CHECK(opt->x == 10);
Callers
1
FL_TEST_FILE
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected