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

Function two_angle_test

examples/Chromancer/gen.py:127–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125 # assert len(points) == LED_PER_STRIP + 1
126
127def two_angle_test() -> None:
128 startPos = Point(0, 0)
129 hexagon_angles = [
130 HexagonAngle.UP,
131 HexagonAngle.UP,
132 ]
133 points = gen_points(hexagon_angles, LED_PER_STRIP, startPos)
134 print(points)
135 # assert len(points) == LED_PER_STRIP * 2, f"Expected {LED_PER_STRIP * 2} points, got {len(points)} points"
136
137
138

Callers

nothing calls this directly

Calls 3

gen_pointsFunction · 0.85
PointClass · 0.70
printFunction · 0.50

Tested by

no test coverage detected