mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-08 18:32:02 +00:00
update with comment
This commit is contained in:
parent
f60b83ff9c
commit
da7152d851
1 changed files with 2 additions and 2 deletions
|
|
@ -135,7 +135,7 @@ impl LtcState {
|
||||||
&self.last_match_status
|
&self.last_match_status
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// This module provides the logic for handling LTC (Linear Timecode) frames and maintaining state.
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
@ -168,7 +168,7 @@ mod tests {
|
||||||
let frame = get_test_frame("LOCK", different_hour, now.minute(), now.second());
|
let frame = get_test_frame("LOCK", different_hour, now.minute(), now.second());
|
||||||
assert!(!frame.matches_system_time());
|
assert!(!frame.matches_system_time());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_ltc_state_update_lock() {
|
fn test_ltc_state_update_lock() {
|
||||||
let mut state = LtcState::new();
|
let mut state = LtcState::new();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue