mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 23:37:34 +00:00
946af918214da2cac8988ffc441bd18d103ccd6d
Verifies encode_varint_raw_48bit and calc_uint64_48bit_force for the 8 corner-case MAC addresses requested in review: 00:00:00:00:00:00, 11:00:00:00:00:00, 00:AA:00:00:00:00, 00:00:BB:00:00:00, 00:00:00:CC:00:00, 00:00:00:00:DD:00, 00:00:00:00:00:EE, FF:FF:FF:FF:FF:FF For each value the test asserts byte-identical output to the reference encode_varint_raw_64 loop, the expected encoded byte length, agreement with calc_uint64_48bit_force, and round-trip through a generic varint decoder. Adds a 100-value deterministic-random sample across the full 48-bit space for additional coverage.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
591 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
