mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-09 02:42:02 +00:00
add the test for ltc_frame_does_not_match_system_time
This commit is contained in:
parent
b261d7c585
commit
bc91b15940
1 changed files with 2 additions and 1 deletions
|
|
@ -140,7 +140,8 @@ impl LtcState {
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use chrono::{Local, Utc};
|
use chrono::{Local, Utc};
|
||||||
|
|
||||||
|
#[test]
|
||||||
fn get_test_frame(status: &str, h: u32, m: u32, s: u32) -> LtcFrame {
|
fn get_test_frame(status: &str, h: u32, m: u32, s: u32) -> LtcFrame {
|
||||||
LtcFrame {
|
LtcFrame {
|
||||||
status: status.to_string(),
|
status: status.to_string(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue