mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-09 02:42: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
7
src/lib.rs
Normal file
7
src/lib.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
//! Timeturner library for LTC and PTP synchronization
|
||||
|
||||
pub mod config;
|
||||
pub mod ptp;
|
||||
pub mod serial_input;
|
||||
pub mod sync_logic;
|
||||
pub mod ui;
|
||||
Loading…
Add table
Add a link
Reference in a new issue