Files
esphome/tests/unit_tests
J. Nick Koston 99aa5043a3 [core] Add unit tests for micros_to_millis, make constexpr
Add Python unit tests (70 cases) verifying the Euclidean decomposition
matches us // 1000 across edge cases: small values, hi/lo boundaries,
carry-path overflow, realistic uptimes, and shift-boundary mod-8
variations.

Make micros_to_millis constexpr to enable compile-time validation
via static_assert.
2026-03-02 00:05:06 -10:00
..
2025-09-19 12:59:48 +00:00
2025-12-18 00:06:52 +00:00
2022-10-05 20:09:27 +13:00
2025-09-19 12:59:48 +00:00
2025-09-19 12:59:48 +00:00