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

Class TestCase

ci/autoresearch/driver_sweep.py:49–64  ·  view source on GitHub ↗

Single test configuration.

Source from the content-addressed store, hash-verified

47
48@dataclass
49class TestCase:
50 """Single test configuration."""
51
52 base_led_count: int
53 lane_count: int
54 lane_sizes: list[int]
55 use_legacy_api: bool
56 driver: str = "PARLIO"
57 pattern: str = "MSB_LSB_A"
58 timing: str = "WS2812B-V5"
59
60 @property
61 def label(self) -> str:
62 sizes_str = ",".join(str(s) for s in self.lane_sizes)
63 api = "legacy" if self.use_legacy_api else "channel"
64 return f"{self.driver} {self.lane_count}L [{sizes_str}] ({api})"
65
66
67@dataclass

Callers 1

build_test_matrixFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected