mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-08 18:32:02 +00:00
feat: add PTP integration tests for LTC timecode synchronization
This commit adds comprehensive test coverage for the PTP and LTC timecode synchronization logic, including: - PTP client initialization tests - PTP disabled state handling - LTC to PTP time conversion - Frame timing precision - Offset tracking and jitter calculation - Interface change handling The tests validate key aspects of the synchronization process, ensuring accurate timecode conversion, offset tracking, and client behavior under different configurations. Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
This commit is contained in:
parent
7b4deb1cf8
commit
b673b0f507
3 changed files with 253 additions and 0 deletions
|
|
@ -18,3 +18,10 @@ log = "0.4"
|
|||
env_logger = "0.11"
|
||||
rand = "0.8"
|
||||
socket2 = "0.4"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio-test = "0.4"
|
||||
|
||||
[lib]
|
||||
name = "ntp_timeturner"
|
||||
path = "src/lib.rs"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue